Last change
on this file since 11427 was 11187, checked in by Mathieu Morlighem, 13 years ago |
Added support for valgrind 3.7
|
-
Property svn:executable
set to
*
|
File size:
463 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_TIER/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.