sit/packages/performance/extrae/extrae-2.1.1-p1
Christoph Niethammer 068686efb3 Moved sit class files into sub directories for all the packages.
Moved packages into sub directories easing the use of additional
installation files (e.g. patches).

Calling sit now with the following syntax:

[OPTIONS] ./sit <category>/<package>/<package>-<version>
2024-03-28 02:43:56 +01:00

40 lines
791 B
Bash
Executable file

#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="performance"
PACKAGE="extrae"
VERSION="2.1.1-p1"
URL="http://www.bsc.es"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A=${PACKAGE}-${VERSION}.tar.gz
P=${PACKAGE}-${VERSION}
enable_papi=${enable_papi:=0}
# Other interesting configure options:
CONFIGURE_OPTS="\
--with-mpi=$MPI_DIR \
--enable-sampling \
"
# use PAPI
if [ $enable_papi != 0 ] ; then
module load system/perfctr system/papi
which papi_avail
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-papi=$PAPI_DIR"
fi
BUILDDIR="${SRCDIR}"
src_install() {
mkdir -p $PREFIX
make install || sit_fail "Installation failed"
}