Last change
on this file since 12802 was 12802, checked in by Mathieu Morlighem, 13 years ago |
one script per machine, per version, per install if needed
|
-
Property svn:executable
set to
*
|
File size:
500 bytes
|
Rev | Line | |
---|
[11103] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | #Some cleanup
|
---|
| 4 | rm -rf install triangle
|
---|
| 5 | mkdir install
|
---|
| 6 |
|
---|
[12189] | 7 | #Download from ISSM server
|
---|
| 8 | $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/triangle.zip' 'triangle.zip'
|
---|
| 9 |
|
---|
[11103] | 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
|
---|
[12802] | 20 | patch triangle.c ../triangle.c.patch.matlab
|
---|
[11103] | 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.