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
|
---|
4 | rm -rf install valgrind-3.7.0
|
---|
5 | mkdir install
|
---|
6 |
|
---|
7 | #Untar
|
---|
8 | tar -jxvf valgrind-3.7.0.tar.bz2
|
---|
9 |
|
---|
10 | #Move valgrind into install directory
|
---|
11 | mv valgrind-3.7.0/* install
|
---|
12 | rm -rf valgrind-3.7.0
|
---|
13 |
|
---|
14 | #configure
|
---|
15 | cd install
|
---|
16 | ./configure --prefix="$ISSM_DIR/externalpackages/valgrind/install"
|
---|
17 |
|
---|
18 | #Compile valgrind
|
---|
19 | make -j 4
|
---|
20 | make install
|
---|
21 |
|
---|
22 | #final thing: if mpi is compiled in, soft link its target to a simpler name
|
---|
23 | cd lib
|
---|
24 | ln -s valgrind/libmpi* ./libmpidebug.so
|
---|
Note:
See
TracBrowser
for help on using the repository browser.