From c4e3f13c55fab8b0b7ca7b111cb10f6c802d97c2 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 18 Oct 2019 09:54:09 +0000 Subject: [PATCH] Added package file for score-p 6.0 --- packages/performance/scorep/scorep-6.0 | 63 ++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100755 packages/performance/scorep/scorep-6.0 diff --git a/packages/performance/scorep/scorep-6.0 b/packages/performance/scorep/scorep-6.0 new file mode 100755 index 0000000..d93a702 --- /dev/null +++ b/packages/performance/scorep/scorep-6.0 @@ -0,0 +1,63 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2018 +# + +CATEGORY="performance" +PACKAGE="scorep" +VERSION="3.1" +URL="http://www.vi-hps.org/projects/score-p" +INSTALLER="Jose Gracia " + + +# 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 \ + " + +#CONFIGURE_OPTS+=" --with-nocross-compiler-suite=intel" + +case $PLATFORM in +vulcan|laki|slc) + enable_gui=0 + ;; +hazelhen) + CONFIGURE_OPTS+=" ac_scorep_platform=crayxc" + ;; +*) + enable_gui=1 + ;; +esac + +if [[ $enable_gui = 1 ]] ; then + #QT_DIR=$(qtpaths --install-prefix) + #CONFIGURE_OPTS += " --with-qt=$QT_DIR " + CONFIGURE_OPTS+=" --with-gui" +else + CONFIGURE_OPTS+=" --without-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 + +src_prepare() { +case $PLATFORM in +hazelhen) + patch -p1 < $SCLASS_DIR/$sit_classfile-0001.patch + ;; +*) + ;; +esac +}