diff options
Diffstat (limited to 'network/opensm')
-rw-r--r-- | network/opensm/README | 4 | ||||
-rw-r--r-- | network/opensm/opensm.SlackBuild | 13 | ||||
-rw-r--r-- | network/opensm/opensm.info | 6 |
3 files changed, 12 insertions, 11 deletions
diff --git a/network/opensm/README b/network/opensm/README index ba703b0980..7b58311899 100644 --- a/network/opensm/README +++ b/network/opensm/README @@ -4,9 +4,9 @@ for in order to initialize the InfiniBand hardware (at least one per each InfiniBand subnet). Run the SlackBild script with the environment variable METIS set to -anything but "no" to enable metis support for nue routing: +"YES" to enable metis support for nue routing: - env METIS=yes ./opensm.SlackBuild + env METIS=YES ./opensm.SlackBuild The optional dependency "metis" can be installed from either the "metis" or the "suitesparse" package, both of which are available diff --git a/network/opensm/opensm.SlackBuild b/network/opensm/opensm.SlackBuild index 0edc0e550d..2b51a9254e 100644 --- a/network/opensm/opensm.SlackBuild +++ b/network/opensm/opensm.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=opensm -VERSION=${VERSION:-3.3.22} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.3.24} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -66,13 +63,17 @@ fi METIS=${METIS:-no} WITH_METIS= -if [ "$METIS" != no ]; then +if [ "`echo $METIS | tr 'a-z' 'A-Z'`" = YES ]; then for inc_dir in /usr/include/metis /usr/include/suitesparse; do if [ -e $inc_dir/metis.h ]; then WITH_METIS="--with-metis --with-metis-includes=$inc_dir" break fi done + if [ -z "$WITH_METIS" ]; then + echo "Error: metis enabled but headers not found." + exit 1 + fi fi set -e diff --git a/network/opensm/opensm.info b/network/opensm/opensm.info index a930e63f08..33a698e965 100644 --- a/network/opensm/opensm.info +++ b/network/opensm/opensm.info @@ -1,8 +1,8 @@ PRGNAM="opensm" -VERSION="3.3.22" +VERSION="3.3.24" HOMEPAGE="https://github.com/linux-rdma" -DOWNLOAD="https://github.com/linux-rdma/opensm/archive/3.3.22/opensm-3.3.22.tar.gz" -MD5SUM="d29495665edbfede565cfa2958d7cf01" +DOWNLOAD="https://github.com/linux-rdma/opensm/archive/3.3.24/opensm-3.3.24.tar.gz" +MD5SUM="e469eb593366b22cea7415a860886338" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rdma-core" |