Last change
on this file since 12189 was 12189, checked in by Mathieu Morlighem, 13 years ago |
Deleted all externalpackage from trunk, use python script to download from issm website
|
-
Property svn:executable
set to
*
|
File size:
493 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | #Some cleanup
|
---|
4 | rm -rf install triangle
|
---|
5 | mkdir install
|
---|
6 |
|
---|
7 | #Download from ISSM server
|
---|
8 | $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/triangle.zip' 'triangle.zip'
|
---|
9 |
|
---|
10 | #Untar
|
---|
11 | cd install
|
---|
12 | cp ../triangle.zip ./
|
---|
13 | unzip triangle.zip
|
---|
14 |
|
---|
15 | #copy new makefile
|
---|
16 | cp ../configs/linux64/configure.make ./
|
---|
17 | cp ../makefile ./
|
---|
18 |
|
---|
19 | #Patch triangle.c
|
---|
20 | patch triangle.c ../triangle.c.patch
|
---|
21 |
|
---|
22 | #Compile triangle
|
---|
23 | make
|
---|
24 |
|
---|
25 | #Patch triangle.h
|
---|
26 | patch triangle.h ../triangle.h.patch
|
---|
Note:
See
TracBrowser
for help on using the repository browser.