[Lemon-commits] Alpar Juttner: Valgring option for ./scripts/boo...

Lemon HG hg at lemon.cs.elte.hu
Thu Nov 19 15:55:08 CET 2009


details:   http://lemon.cs.elte.hu/hg/lemon/rev/39e937379c26
changeset: 858:39e937379c26
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Thu Nov 19 09:36:43 2009 +0100
description:
	Valgring option for ./scripts/bootstrap.sh

diffstat:

 scripts/bootstrap.sh |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diffs (25 lines):

diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -102,6 +102,13 @@
 
 cxx_flags="CXXFLAGS=-ggdb$opt_flags$werror_flags"
 
+if yesorno "Check with valgrind" "n" 
+then
+    valgrind_flags=' --enable-valgrind'
+else
+    valgrind_flags=''
+fi
+
 if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then
     if yesorno "Use COIN-OR (CBC/CLP)" "n"
     then
@@ -128,6 +135,7 @@
     autoreconf -vif;
 fi
 ${CONFIGURE_PATH}/configure --prefix=$LEMON_INSTALL_PREFIX \
+$valgrind_flags \
 "$cxx_flags" \
 $coin_flag \
 $soplex_flag \



More information about the Lemon-commits mailing list