Updated nanox sit class file.

This commit is contained in:
Christoph Niethammer 2013-07-10 08:57:38 +00:00
parent 3b5d70ac82
commit 22368253bc
2 changed files with 12 additions and 6 deletions

View file

@ -29,8 +29,8 @@ SRCDIR="$SRC_POOL/nanox/nanox.git"
# enable instrumentation (0|1) # enable instrumentation (0|1)
enable_extrae=${enable_extrae:=1} enable_extrae=${enable_extrae:=1}
# build with ayudame support (0|1) # build with temanejo support (0|1)
enable_ayudame=${enable_ayudame:=1} enable_temanejo=${enable_temanejo:=1}
# build with debugging symbols (0|1) # build with debugging symbols (0|1)
enable_debug=${enable_debug:=0} enable_debug=${enable_debug:=0}
@ -51,10 +51,11 @@ if [ $enable_extrae == 1 ] ; then
CONFIGURE_OPTS+=" --with-extrae=$EXTRAE_HOME" CONFIGURE_OPTS+=" --with-extrae=$EXTRAE_HOME"
fi fi
if [ $enable_ayudame == 1 ] ; then if [ $enable_temanejo == 1 ] ; then
module load libs/ayudame module load debugger/temanejo
echo "Building with AYUDAME_HOME=$AYUDAME_HOME" echo "Building with AYUDAME_HOME=$TEMANEJO_HOME"
CONFIGURE_OPTS+=" --with-ayudame=$AYUDAME_HOME" CONFIGURE_OPTS+=" --with-ayudame=$TEMANEJO_HOME"
#LDFLAGS+=" -L$TEMANEJO_HOME"
fi fi
@ -69,6 +70,7 @@ src_prepare() {
rm -rf autom4te.cache rm -rf autom4te.cache
autoreconf -vif autoreconf -vif
version=$(git rev-list -n 1 master) version=$(git rev-list -n 1 master)
patch src/plugins/instrumentation/ayudame.cpp < $SCLASS_DIR/$SCLASSFILE-0001.patch
} }
src_install() { src_install() {

View file

@ -0,0 +1,4 @@
39c39
< ayu_runtime_t ayu_rt = 3; // FIXME: hard coded, use AYU_RT_OMPSS?
---
> ayu_runtime_t ayu_rt = AYU_RT_OMPSS;