2015-07-15 08:49:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# sit class file
|
|
|
|
#
|
|
|
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2015
|
|
|
|
#
|
|
|
|
|
|
|
|
CATEGORY="performance"
|
|
|
|
PACKAGE="scorep"
|
|
|
|
VERSION="1.4.2"
|
|
|
|
URL="http://www.vi-hps.org/projects/score-p"
|
|
|
|
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
|
|
|
|
|
|
|
|
|
|
|
# Archive A and package name P
|
|
|
|
A="${PACKAGE}-${VERSION}.tar.gz"
|
|
|
|
P="${PACKAGE}-${VERSION}"
|
|
|
|
|
|
|
|
|
|
|
|
# Other interesting configure options:
|
|
|
|
#--enable-sampling \
|
|
|
|
CONFIGURE_OPTS=" \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
2015-12-07 10:15:18 +00:00
|
|
|
--with-gui \
|
2015-07-15 08:49:37 +00:00
|
|
|
"
|
|
|
|
|
2015-12-07 10:15:18 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|