source: issm/trunk-jpl/externalpackages/metis/install-4.0-greenplanet.sh

Last change on this file was 23435, checked in by jdquinn, 6 years ago

CHG: Renamed download_external_package.bash -> DownloadExternalPackage.sh and updated calls to it in install scripts

  • Property svn:executable set to *
File size: 483 bytes
Line 
1#!/bin/bash
2set -eu
3
4#Some cleanup
5rm -rf install metis-4.0
6mkdir install
7
8#Download from ISSM server
9$ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/metis-4.0.tar.gz' 'metis-4.0.tar.gz'
10
11#Untar
12tar -zxvf metis-4.0.tar.gz
13
14#Move metis into install directory
15mv metis-4.0/* install
16rm -rf metis-4.0
17
18#Apply patches
19cd install
20patch -p1 < ../metis-4.0.patch
21patch Makefile.in ../configs/4.0/greenplanet/Makefile.in.patch
22
23#Compile
24make
Note: See TracBrowser for help on using the repository browser.