sit/packages/performance/tau/tau-2.28.2

45 lines
899 B
Groff
Raw Permalink Normal View History

2019-09-03 23:25:37 +00:00
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2019
#
CATEGORY="performance"
PACKAGE="tau"
VERSION="2.28.2"
URL="https://www.cs.uoregon.edu/research/pdt/"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A="$PACKAGE-$VERSION.tar.gz"
P="$PACKAGE-$VERSION"
BUILDDIR=$SRCDIR
module load performance/pdt/3.25.1
module load performance/papi/5.7.0
src_configure() {
${SRCDIR}/configure \
-bfd=download \
-dwarf=download \
-unwind=download \
-iowrapper \
-c++=$MPICXX \
-cc=$MPICC \
-fortran=$MPIFC \
-mpi \
-ompt \
-openmp \
-papi=$PAPI_ROOT \
-pdt=$PDT_ROOT \
-prefix=$PREFIX
}
src_unpack() {
# extract source package
unpack
# unpack the external dependency package into SRCDIR
tar xf ${SRC_POOL}/ext.tgz -C $SRCDIR
}