From 7228bdc220bfe464d19222243d9e1d751ddd5f51 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 26 Jan 2016 13:58:21 +0000 Subject: [PATCH] Sit class file for Score-P 2.0-beta1. --- packages/performance/scorep/scorep-2.0-beta1 | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 packages/performance/scorep/scorep-2.0-beta1 diff --git a/packages/performance/scorep/scorep-2.0-beta1 b/packages/performance/scorep/scorep-2.0-beta1 new file mode 100755 index 0000000..59f2adb --- /dev/null +++ b/packages/performance/scorep/scorep-2.0-beta1 @@ -0,0 +1,39 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2015 +# + +CATEGORY="performance" +PACKAGE="scorep" +VERSION="2.0-beta1" +URL="http://www.vi-hps.org/projects/score-p" +INSTALLER="Christoph Niethammer " + + +# 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 +