- Timestamp:
- 04/04/17 05:12:42 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/valgrind/install-linux64.sh
r21657 r21658 2 2 set -eu 3 3 4 #old version (Kernel issue) 5 # #Some cleanup 6 # rm -rf install valgrind-3.10.0 7 # mkdir install 4 #Some cleanup 5 rm -rf install valgrind-3.10.0 6 mkdir install 8 7 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/valgrind-3.10.0.tar.bz2' 'valgrind-3.10.0.tar.bz2' 9 10 10 # #Download from ISSM server11 # # $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/valgrind-3.10.0.tar.bz2' 'valgrind-3.10.0.tar.bz2' 11 #Untar 12 tar -jxvf valgrind-3.10.0.tar.bz2 12 13 13 # #Untar 14 # tar -jxvf valgrind-3.10.0.tar.bz2 15 16 # #Move valgrind into install directory 17 # mv valgrind-3.10.0/* install 18 # rm -rf valgrind-3.10.0 19 20 # #configure 21 # cd install 22 # ./configure --prefix="$ISSM_DIR/externalpackages/valgrind/install" 23 24 # #Compile valgrind 25 # make -j 4 26 # make install 27 28 # #final thing: if mpi is compiled in, soft link its target to a simpler name 29 # cd lib 30 # ln -s valgrind/libmpiwrap-* ./libmpidebug.so 31 32 #New way cloned on mac 33 34 #Some cleanup 35 rm -rf install 36 37 #Download development version, the current release never supports the latest OS X releases 38 svn co svn://svn.valgrind.org/valgrind/trunk install 14 #Move valgrind into install directory 15 mv valgrind-3.10.0/* install 16 rm -rf valgrind-3.10.0 39 17 40 18 #configure 41 19 cd install 42 ./autogen.sh 43 ./configure --prefix="$ISSM_DIR/externalpackages/valgrind/install" --enable-only64bit 20 ./configure --prefix="$ISSM_DIR/externalpackages/valgrind/install" 44 21 45 22 #Compile valgrind 23 make -j 4 24 make install 46 25 47 make -j 8 48 make install 26 #final thing: if mpi is compiled in, soft link its target to a simpler name 27 cd lib 28 ln -s valgrind/libmpiwrap-* ./libmpidebug.so
Note:
See TracChangeset
for help on using the changeset viewer.