source: issm/branches/trunk-jpl-damage/externalpackages/valgrind/install-win32.sh@ 12168

Last change on this file since 12168 was 12168, checked in by cborstad, 13 years ago

merged trunk-jpl into branch through revision 12167

  • Property svn:executable set to *
File size: 462 bytes
Line 
1#!/bin/bash
2
3#Some cleanup
4rm -rf install valgrind-3.7.0
5mkdir install
6
7#Untar
8tar -jxvf valgrind-3.7.0.tar.bz2
9
10#Move valgrind into install directory
11mv valgrind-3.7.0/* install
12rm -rf valgrind-3.7.0
13
14#configure
15cd install
16./configure --prefix="$ISSM_DIR/externalpackages/valgrind/install"
17
18#Compile valgrind
19make -j 4
20make install
21
22#final thing: if mpi is compiled in, soft link its target to a simpler name
23cd lib
24ln -s valgrind/libmpi* ./libmpidebug.so
Note: See TracBrowser for help on using the repository browser.