Sit class file for Score-P 2.0.2.
This commit is contained in:
parent
a3d2afe63e
commit
20c1e4add7
1 changed files with 51 additions and 0 deletions
51
packages/performance/scorep/scorep-2.0.2
Executable file
51
packages/performance/scorep/scorep-2.0.2
Executable file
|
@ -0,0 +1,51 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2016
|
||||
#
|
||||
|
||||
CATEGORY="performance"
|
||||
PACKAGE="scorep"
|
||||
VERSION="2.0.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 \
|
||||
"
|
||||
|
||||
CONFIGURE_OPTS+=" --with-nocross-compiler-suite=intel"
|
||||
|
||||
case $PLATFORM in
|
||||
laki|slc)
|
||||
enable_gui=0
|
||||
;;
|
||||
*)
|
||||
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
|
||||
|
Loading…
Reference in a new issue