From 3fb95675a97331a8c3215c4032cecc1edc5df8e5 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 27 Nov 2012 08:54:50 +0000 Subject: [PATCH] Rename instrumentation option to extrae, enable ayudame by default, build static and shared libs. --- packages/libs/nanox/nanox-master | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/libs/nanox/nanox-master b/packages/libs/nanox/nanox-master index 1c112e9..e044ac3 100644 --- a/packages/libs/nanox/nanox-master +++ b/packages/libs/nanox/nanox-master @@ -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"