Last change
on this file since 13246 was 13246, checked in by seroussi, 13 years ago |
CHG: added set -eu in all installation files to stop if an error occurs
|
-
Property svn:executable
set to
*
|
File size:
533 bytes
|
Rev | Line | |
---|
[11385] | 1 | #!/bin/bash
|
---|
[13246] | 2 | set -eu
|
---|
[11385] | 3 |
|
---|
| 4 | #Some cleanup
|
---|
| 5 | rm -rf install metis-4.0
|
---|
| 6 | mkdir install
|
---|
| 7 |
|
---|
[12189] | 8 | #Download from ISSM server
|
---|
| 9 | $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/metis-4.0.tar.gz' 'metis-4.0.tar.gz'
|
---|
| 10 |
|
---|
[11385] | 11 | #Untar
|
---|
| 12 | tar -zxvf metis-4.0.tar.gz
|
---|
| 13 |
|
---|
| 14 | #Move metis into install directory
|
---|
| 15 | mv metis-4.0/* install
|
---|
| 16 | rm -rf metis-4.0
|
---|
| 17 |
|
---|
| 18 | #Apply patches
|
---|
| 19 | cd install
|
---|
| 20 | patch -p1 < ../metis-4.0.patch
|
---|
[11397] | 21 | patch -R Lib/Makefile ../configs/4.0/win7/Makefile.patch
|
---|
[11824] | 22 | patch Makefile.in ../configs/4.0/win7/Makefile.in.patch
|
---|
[11385] | 23 |
|
---|
| 24 | #Compile
|
---|
| 25 | make
|
---|
Note:
See
TracBrowser
for help on using the repository browser.