Last change
on this file since 15545 was 15545, checked in by Mathieu Morlighem, 12 years ago |
CHG: do not need to patch c file anymore and mac does not suppoer FPU flags
|
-
Property svn:executable
set to
*
|
File size:
445 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/macosx64/configure.make ./
|
---|
| 18 | cp ../makefile ./
|
---|
| 19 |
|
---|
| 20 | #Compile triangle
|
---|
| 21 | make
|
---|
| 22 |
|
---|
| 23 | #Patch triangle.h
|
---|
| 24 | patch triangle.h ../triangle.h.patch
|
---|
Note:
See
TracBrowser
for help on using the repository browser.