Rename instrumentation option to extrae, enable ayudame by default, build static and shared libs.

This commit is contained in:
Christoph Niethammer 2012-11-27 08:54:50 +00:00
parent 65ebef950e
commit 3fb95675a9

View file

@ -28,22 +28,24 @@ P=${PACKAGE}-${VERSION}
SRCDIR="$SRC_POOL/nanox/nanox.git"
# enable instrumentation (0|1)
enable_instrumentation=${enable_instrumentation:=0}
enable_extrae=${enable_extrae:=1}
# build with ayudame support (0|1)
enable_ayudame=${enable_ayudame:=0}
enable_ayudame=${enable_ayudame:=1}
# build with debugging symbols (0|1)
enable_debug=${enable_debug:=0}
# Other interesting configure options:
CONFIGURE_OPTS=" \
--enable-static \
--enable-shared \
"
if [ $enable_debug == 1 ] ; then
COMPILER_OPTS+=" CFLAGS=-g CXXFLAGS=-g CPPFLAGS=-g LDFLAGS=-g"
fi
if [ $enable_instrumentation == 1 ] ; then
if [ $enable_extrae == 1 ] ; then
module load performance/extrae
echo "Building with EXTRAE_HOME=$EXTRAE_HOME"
CONFIGURE_OPTS+=" --with-extrae=$EXTRAE_HOME"