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:
475 bytes
|
Rev | Line | |
---|
[11367] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | #Some cleanup
|
---|
| 4 | rm -rf install metis-4.0
|
---|
| 5 | mkdir install
|
---|
| 6 |
|
---|
[12189] | 7 | #Download from ISSM server
|
---|
| 8 | $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/metis-4.0.tar.gz' 'metis-4.0.tar.gz'
|
---|
| 9 |
|
---|
[11367] | 10 | #Untar
|
---|
| 11 | tar -zxvf metis-4.0.tar.gz
|
---|
| 12 |
|
---|
| 13 | #Move metis into install directory
|
---|
| 14 | mv metis-4.0/* install
|
---|
| 15 | rm -rf metis-4.0
|
---|
| 16 |
|
---|
| 17 | #Apply patches
|
---|
| 18 | cd install
|
---|
| 19 | patch -p1 < ../metis-4.0.patch
|
---|
| 20 | patch Makefile.in ../configs/4.0/greenplanet/Makefile.in.patch
|
---|
| 21 |
|
---|
| 22 | #Compile
|
---|
| 23 | make
|
---|
Note:
See
TracBrowser
for help on using the repository browser.