Sit class file for extrae 3.0.1.
This commit is contained in:
parent
66099b121d
commit
de06fe1f5f
1 changed files with 48 additions and 0 deletions
48
packages/performance/extrae/extrae-3.0.1
Normal file
48
packages/performance/extrae/extrae-3.0.1
Normal file
|
@ -0,0 +1,48 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2014
|
||||
#
|
||||
|
||||
CATEGORY="performance"
|
||||
PACKAGE="extrae"
|
||||
VERSION="3.0.1"
|
||||
URL="http://www.bsc.es/computer-sciences/extrae"
|
||||
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}-${VERSION}.tar.bz2
|
||||
P=${PACKAGE}-${VERSION}
|
||||
|
||||
enable_papi=${enable_papi:=1}
|
||||
|
||||
MAKEOPTS="-j1"
|
||||
export CFLAGS="-dynamic"
|
||||
|
||||
# Other interesting configure options:
|
||||
#--disable-doc \
|
||||
CONFIGURE_OPTS="\
|
||||
--with-mpi=$MPI_DIR \
|
||||
--without-pacx \
|
||||
--enable-sampling \
|
||||
--enable-posix-clock \
|
||||
--without-unwind \
|
||||
--without-dyninst \
|
||||
"
|
||||
|
||||
|
||||
# use PAPI
|
||||
if [ $enable_papi != 0 ] ; then
|
||||
PAPI_DIR=$(dirname $(dirname $(which papi_avail)))
|
||||
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-papi=$PAPI_DIR"
|
||||
else
|
||||
CONFIGURE_OPTS="$CONFIGURE_OPTS --without-papi"
|
||||
fi
|
||||
|
||||
BUILDDIR="${SRCDIR}"
|
||||
|
||||
src_install() {
|
||||
mkdir -p $PREFIX
|
||||
make install || sit_fail "Installation failed"
|
||||
}
|
||||
|
Loading…
Reference in a new issue