From bb2e0e9416b131e780f3045450148262fc86a82a Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 7 Dec 2015 10:15:18 +0000 Subject: [PATCH] Enable the build of GUIs (CUBE) + PAPI support in the Score-P package. --- packages/performance/scorep/scorep-1.4.2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/performance/scorep/scorep-1.4.2 b/packages/performance/scorep/scorep-1.4.2 index 355936a..a19ddf2 100755 --- a/packages/performance/scorep/scorep-1.4.2 +++ b/packages/performance/scorep/scorep-1.4.2 @@ -21,5 +21,16 @@ P="${PACKAGE}-${VERSION}" CONFIGURE_OPTS=" \ --enable-shared \ --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 +} +