Added sit class file for Score-P 2.0.1.

This commit is contained in:
Christoph Niethammer 2016-05-02 08:54:39 +00:00
parent 36d0d0dfd2
commit c7e58a9b24

View file

@ -0,0 +1,39 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2015
#
CATEGORY="performance"
PACKAGE="scorep"
VERSION="2.0.1"
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 \
"
if [ $PLATFORM == "laki" ] ; then
#QT_DIR=$(qtpaths --install-prefix)
#CONFIGURE_OPTS += " --with-qt=$QT_DIR "
CONFIGURE_OPTS+=" --without-gui"
else
CONFIGURE_OPTS+=" --with-gui"
fi
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