diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2023-05-18 00:03:15 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:06 +0700 |
commit | 306d8f85ebffa869e7a1641ab667bb788e9524d7 (patch) | |
tree | 01102f9cb53f56968501900b94775df727300ebc /libraries/libfabric | |
parent | a8886279949501165fe948ed5b756992b277795f (diff) |
libraries/libfabric: Updated for version 1.18.0.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libfabric')
-rw-r--r-- | libraries/libfabric/changelog | 16 | ||||
-rw-r--r-- | libraries/libfabric/libfabric.SlackBuild | 30 | ||||
-rw-r--r-- | libraries/libfabric/libfabric.info | 10 |
3 files changed, 31 insertions, 25 deletions
diff --git a/libraries/libfabric/changelog b/libraries/libfabric/changelog new file mode 100644 index 0000000000000..a8571b0fb4e8d --- /dev/null +++ b/libraries/libfabric/changelog @@ -0,0 +1,16 @@ +Changelog for libfabric SlackBuild Script +-------------------------------------------------------------------- + +03/09/2022: + +Added to slackbuilds.org + +18/02/2023: + +libfabric slackbuild script fixed by B.Watson + +16/05/2023: + +Updated to version 1.18.0 +From this build onwards it will only build +on x86_64 platform only. diff --git a/libraries/libfabric/libfabric.SlackBuild b/libraries/libfabric/libfabric.SlackBuild index 6de2abe1ef030..8a6e1ef7feaf5 100644 --- a/libraries/libfabric/libfabric.SlackBuild +++ b/libraries/libfabric/libfabric.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libfabric -# Copyright 2022 Vijay Marcel +# Copyright 2022-2023 Vijay Marcel # All rights reserved. # @@ -26,18 +26,16 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libfabric -VERSION=${VERSION:-1.15.1} +VERSION=${VERSION:-1.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +sys_arch=${sys_arch:-$(uname -m)} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i586 ;; - arm*) export ARCH=arm ;; - *) export ARCH=$( uname -m ) ;; - esac -fi +case "$sys_arch" in + x86_64) export ARCH=x86_64 ;; + *) echo "This program will not build on $sys_arch platform" && exit 1 ;; +esac # 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 @@ -51,18 +49,11 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" +if [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + echo "This program will not build on $sys_arch platform" && exit 1 fi set -e @@ -94,7 +85,6 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --enable-shared \ --with-valgrind \ - --with-gnu-ld \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux diff --git a/libraries/libfabric/libfabric.info b/libraries/libfabric/libfabric.info index 4ed7d7fa2fd7a..ca203a43b019b 100644 --- a/libraries/libfabric/libfabric.info +++ b/libraries/libfabric/libfabric.info @@ -1,10 +1,10 @@ PRGNAM="libfabric" -VERSION="1.15.1" +VERSION="1.18.0" HOMEPAGE="http://libfabric.org/" -DOWNLOAD="https://github.com/ofiwg/libfabric/archive/v1.15.1/libfabric-1.15.1.tar.gz" -MD5SUM="1e9ae99236201b9d361a2d2dda58dbfa" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/ofiwg/libfabric/archive/v1.18.0/libfabric-1.18.0.tar.gz" +MD5SUM_x86_64="91c0cf6c3c4c56e5de0bb1b798a407e7" REQUIRES="numactl rdma-core valgrind" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" |