network/opensm: Updated for version 3.3.24.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
GUAN Xin 2023-10-31 18:34:13 +07:00 committed by Willy Sudiarto Raharjo
parent 0ed3f70ebc
commit d3dd316004
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 12 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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"