]> git.proxmox.com Git - ceph.git/blame - ceph/src/Beast/scripts/install-valgrind.sh
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / scripts / install-valgrind.sh
CommitLineData
7c673cae
FG
1#!/usr/bin/env bash
2# Assumptions:
3# 1) VALGRIND_ROOT is already defined, and contains a valid values
4set -eu
5if [ ! -d "$VALGRIND_ROOT/bin" ]
6then
7 # These are specified in the addons/apt section of .travis.yml
8 # sudo apt-get install subversion automake autotools-dev libc6-dbg
9 export PATH=$PATH:$VALGRIND_ROOT/bin
10 svn co svn://svn.valgrind.org/valgrind/trunk valgrind-co
11 cd valgrind-co
12 ./autogen.sh
13 ./configure --prefix=$VALGRIND_ROOT
14 make
15 make install
16 # test it
17 valgrind ls -l
18else
19 echo "Using cached valgrind at $VALGRIND_ROOT"
20fi