source: issm/trunk-jpl/externalpackages/triangle/install-altix64.sh

Last change on this file was 23435, checked in by jdquinn, 6 years ago

CHG: Renamed download_external_package.bash -> DownloadExternalPackage.sh and updated calls to it in install scripts

  • Property svn:executable set to *
File size: 444 bytes
RevLine 
[11103]1#!/bin/bash
[13246]2set -eu
[11103]3
4#Some cleanup
5rm -rf install triangle
6mkdir install
7
[12189]8#Download from ISSM server
[23435]9$ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/triangle.zip' 'triangle.zip'
[12189]10
[11103]11#Untar
12cd install
13cp ../triangle.zip ./
14unzip triangle.zip
15
16#copy new makefile
17cp ../configs/altix64/configure.make ./
18cp ../makefile ./
19
20#Compile triangle
21make
22
23#Patch triangle.h
24patch triangle.h ../triangle.h.patch
Note: See TracBrowser for help on using the repository browser.