Enable the build of GUIs (CUBE) + PAPI support in the Score-P package.
This commit is contained in:
parent
76582ca60d
commit
bb2e0e9416
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue