Last change
on this file since 25836 was 25836, checked in by Mathieu Morlighem, 4 years ago |
merged trunk-jpl and trunk for revision 25834
|
-
Property svn:executable
set to
*
|
File size:
370 bytes
|
Rev | Line | |
---|
[25706] | 1 | #!/bin/bash
|
---|
| 2 | set -eu
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | # Clean up
|
---|
| 6 | rm -rf install
|
---|
| 7 |
|
---|
| 8 | # Download development version
|
---|
| 9 | git clone git://sourceware.org/git/valgrind.git install
|
---|
| 10 |
|
---|
| 11 | # Configure
|
---|
| 12 | cd install
|
---|
| 13 | ./autogen.sh
|
---|
| 14 | ./configure \
|
---|
| 15 | --prefix="$ISSM_DIR/externalpackages/valgrind/install" \
|
---|
| 16 | --enable-only64bit
|
---|
| 17 |
|
---|
| 18 | # Compile and install
|
---|
| 19 | if [ $# -eq 0 ]; then
|
---|
| 20 | make
|
---|
| 21 | make install
|
---|
| 22 | else
|
---|
| 23 | make -j $1
|
---|
| 24 | make install -j $1
|
---|
| 25 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.