Rename instrumentation option to extrae, enable ayudame by default, build static and shared libs.
This commit is contained in:
parent
65ebef950e
commit
3fb95675a9
1 changed files with 5 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue