From 0ae0f10853b926bc251af4d96ab460a70d194417 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Mon, 17 Apr 2023 15:28:37 +0000 Subject: [PATCH] Add DLB from BSC --- packages/performance/dlb/dlb-any | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 packages/performance/dlb/dlb-any diff --git a/packages/performance/dlb/dlb-any b/packages/performance/dlb/dlb-any new file mode 100644 index 0000000..c93c2b4 --- /dev/null +++ b/packages/performance/dlb/dlb-any @@ -0,0 +1,39 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2013 +# Jose Gracia +# + + +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 " + +# 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 + +