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