Changeset 13395 for issm/trunk/externalpackages/adolc
- Timestamp:
- 09/19/12 09:32:34 (13 years ago)
- Location:
- issm/trunk
- Files:
-
- 2 deleted
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 projects 1 2 autom4te.cache 2 3 aclocal.m4
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 12710-12871,12873-12877,12881-12896,12898-12900,12902-12916,12920-12935,12937-12945,12948-13100,13107-13110,13112-13116,13119-13393
- Property svn:ignore
-
issm/trunk/externalpackages
- Property svn:ignore
-
old new 1 archive 1 2 MITgcm 2 3 OpenAD 4 ivins
-
- Property svn:ignore
-
issm/trunk/externalpackages/adolc
- Property svn:ignore
-
old new 1 adolc_v220_issm 2 trunk 3 *.gz 1 4 install* 2 5 src 6 src-* 3 7 configure.sh 4 8 .ignore.txt
-
- Property svn:ignore
-
issm/trunk/externalpackages/adolc/install.sh
r12707 r13395 1 1 #!/bin/bash 2 set -eu 2 3 3 4 #some issues on macosx64 with ISSM's autoconf. you might want to run native to mac on this. 4 5 5 6 #Some cleanup 6 rm -rf install ADOL-C-2.2.0 src 7 rm -rf install ADOL-C-2.2.0 src trunk 8 9 #Create install directories 10 mkdir install src 7 11 8 12 #Download from ISSM server 9 13 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/ADOL-C-2.2.0.tar.gz' 'ADOL-C-2.2.0.tar.gz' 10 11 #Create install directories12 mkdir install src13 14 14 15 #Untar … … 22 23 cd src 23 24 24 export CC=gcc25 export CXX=g++26 export CFLAGS="-arch x86_64"27 export CXXFLAGS="-arch x86_64"25 #export CC=gcc 26 #export CXX=g++ 27 #export CFLAGS="-arch x86_64" 28 #export CXXFLAGS="-arch x86_64" 28 29 29 30 ./configure \ … … 34 35 --disable-shave 35 36 36 if [ -z $1]; then37 if [ $# -eq 0 ]; then 37 38 make 38 39 else … … 40 41 fi 41 42 make install 43 44 45 #Ok, bug with libtool: replace all LIBTOOL= by LIBTOOL=libtool 46 #in all Makefiles 47 for i in `find ./ -name Makefile ` 48 do 49 echo $i 50 cat $i | sed 's/LIBTOOL =/LIBTOOL = libtool/g' > $i.bak 51 mv $i.bak $i 52 done 53 54 #remake: 55 if [ $# -eq 0 ]; then 56 make 57 else 58 make -j $1 59 fi 60 make install
Note:
See TracChangeset
for help on using the changeset viewer.