Add DLB from BSC
This commit is contained in:
parent
cbf2b7cc59
commit
0ae0f10853
1 changed files with 39 additions and 0 deletions
39
packages/performance/dlb/dlb-any
Normal file
39
packages/performance/dlb/dlb-any
Normal file
|
@ -0,0 +1,39 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2013
|
||||
# Jose Gracia <gracia@hlrs.de>
|
||||
#
|
||||
|
||||
|
||||
CATEGORY=${CATEGORY:-"performance"}
|
||||
PACKAGE=${PACKAGE:-"dlb"}
|
||||
# if VERSION not set assume 1.0
|
||||
VERSION=${VERSION:-"3.2"}
|
||||
|
||||
URL="hhttps://pm.bsc.es"
|
||||
INSTALLER="Jose Gracia <gracia@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}-${VERSION}.tar.gz
|
||||
P=${PACKAGE}-${VERSION} # remove date suffix starting from first '-'
|
||||
|
||||
# enable hwloc (0|1)
|
||||
enable_hwloc=${enable_hwloc:-1}
|
||||
# enable mpi
|
||||
enable_mpi=${enable_mpi:-1}
|
||||
|
||||
|
||||
CONFIGURE_OPTS=" "
|
||||
|
||||
if [ $enable_hwloc == 1 ] ; then
|
||||
echo "Building with hwloc"
|
||||
HWLOC_DIR=$(dirname $(dirname $(which hwloc-ls)))
|
||||
CONFIGURE_OPTS+=" --with-hwloc=$HWLOC_DIR"
|
||||
fi
|
||||
|
||||
if [ $enable_mpi == 1 ] ; then
|
||||
CONFIGURE_OPTS+=" --with-mpi"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in a new issue