mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/opensm: Updated for version 3.3.24.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0ed3f70ebc
commit
d3dd316004
3 changed files with 12 additions and 11 deletions
|
@ -4,9 +4,9 @@ for in order to initialize the InfiniBand hardware (at least
|
||||||
one per each InfiniBand subnet).
|
one per each InfiniBand subnet).
|
||||||
|
|
||||||
Run the SlackBild script with the environment variable METIS set to
|
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
|
The optional dependency "metis" can be installed from either the
|
||||||
"metis" or the "suitesparse" package, both of which are available
|
"metis" or the "suitesparse" package, both of which are available
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=opensm
|
PRGNAM=opensm
|
||||||
VERSION=${VERSION:-3.3.22}
|
VERSION=${VERSION:-3.3.24}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -66,13 +63,17 @@ fi
|
||||||
|
|
||||||
METIS=${METIS:-no}
|
METIS=${METIS:-no}
|
||||||
WITH_METIS=
|
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
|
for inc_dir in /usr/include/metis /usr/include/suitesparse; do
|
||||||
if [ -e $inc_dir/metis.h ]; then
|
if [ -e $inc_dir/metis.h ]; then
|
||||||
WITH_METIS="--with-metis --with-metis-includes=$inc_dir"
|
WITH_METIS="--with-metis --with-metis-includes=$inc_dir"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ -z "$WITH_METIS" ]; then
|
||||||
|
echo "Error: metis enabled but headers not found."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="opensm"
|
PRGNAM="opensm"
|
||||||
VERSION="3.3.22"
|
VERSION="3.3.24"
|
||||||
HOMEPAGE="https://github.com/linux-rdma"
|
HOMEPAGE="https://github.com/linux-rdma"
|
||||||
DOWNLOAD="https://github.com/linux-rdma/opensm/archive/3.3.22/opensm-3.3.22.tar.gz"
|
DOWNLOAD="https://github.com/linux-rdma/opensm/archive/3.3.24/opensm-3.3.24.tar.gz"
|
||||||
MD5SUM="d29495665edbfede565cfa2958d7cf01"
|
MD5SUM="e469eb593366b22cea7415a860886338"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="rdma-core"
|
REQUIRES="rdma-core"
|
||||||
|
|
Loading…
Reference in a new issue