Enable the build of GUIs (CUBE) + PAPI support in the Score-P package.

This commit is contained in:
Christoph Niethammer 2015-12-07 10:15:18 +00:00
parent 76582ca60d
commit bb2e0e9416

View file

@ -21,5 +21,16 @@ P="${PACKAGE}-${VERSION}"
CONFIGURE_OPTS=" \ CONFIGURE_OPTS=" \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--with-gui \
" "
PAPI_BASE=$(dirname $(dirname $(which papi_avail)))
if [ ! -z $PAPI_BASE ]
then
CONFIGURE_OPTS+=" --with-papi-header=$PAPI_BASE/include --with-papi-lib=$PAPI_BASE/lib "
fi
src_prepare () {
patch -p2 < $SCLASS_DIR/$SCLASSFILE-0001.patch
}