[packages/libfabric] - updated to 1.14.0 - removed obsolete cpu,sh patches
qboosh
qboosh at pld-linux.org
Sat Feb 19 21:40:27 CET 2022
commit 95834fd4d2da2fc007700e3c1cc37ee2626a65d7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 19 21:42:08 2022 +0100
- updated to 1.14.0
- removed obsolete cpu,sh patches
libfabric-cpu.patch | 11 -----------
libfabric-sh.patch | 14 --------------
libfabric.spec | 19 +++++++++++--------
3 files changed, 11 insertions(+), 33 deletions(-)
---
diff --git a/libfabric.spec b/libfabric.spec
index 582604a..b6698a2 100644
--- a/libfabric.spec
+++ b/libfabric.spec
@@ -1,6 +1,10 @@
# TODO:
-# - proprietary providers (cray/gni, mxm)
-# - psm2
+# - cuda support
+# - level_zero (--with-ze, https://github.com/oneapi-src/level-zero + libdrm-devel)
+# - gdrcopy (https://github.com/NVIDIA/gdrcopy, requires cuda)
+# - rocr (https://github.com/RadeonOpenCompute/ROCR-Runtime)
+# - proprietary providers (cray/gni...)
+# - psm2 (https://github.com/cornelisnetworks/opa-psm2)
#
# Conditional build:
%bcond_with psm # infinipath-psm provider
@@ -11,15 +15,13 @@
Summary: User-space RDMA Fabric interface library
Summary(pl.UTF-8): Biblioteka interfejsu przestrzeni użytkownika RDMA Fabric
Name: libfabric
-Version: 1.7.1
+Version: 1.14.0
Release: 1
License: BSD or GPL v2
Group: Libraries
#Source0Download: https://github.com/ofiwg/libfabric/releases
Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 82d2592fcf251da379b4446c4b5e356b
-Patch0: %{name}-sh.patch
-Patch1: %{name}-cpu.patch
+# Source0-md5: 697803f02ef79eca6dad59e7e65939fe
URL: https://github.com/ofiwg/libfabric
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.11
@@ -68,8 +70,6 @@ Statyczna biblioteka libfabric.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
@@ -79,6 +79,9 @@ Statyczna biblioteka libfabric.
%{__automake}
%configure \
%{!?with_psm:--disable-psm} \
+%ifnarch %{x8664} x32
+ --disable-psm3 \
+%endif
--disable-silent-rules
%{__make}
diff --git a/libfabric-cpu.patch b/libfabric-cpu.patch
deleted file mode 100644
index cb9ba48..0000000
--- a/libfabric-cpu.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libfabric-1.6.2/prov/psm2/configure.m4.orig 2018-12-13 19:41:32.489157106 +0100
-+++ libfabric-1.6.2/prov/psm2/configure.m4 2018-12-13 19:48:42.749152193 +0100
-@@ -9,7 +9,7 @@
- dnl
- AC_DEFUN([FI_PSM2_CONFIGURE],[
- # Determine if we can support the psm2 provider
-- psm2_ARCH=`uname -m | sed -e 's,\(i[456]86\|athlon$$\),i386,'`
-+ psm2_ARCH=$(echo $host_cpu | sed -e 's,\(i[[456]]86\|athlon$$\),i386,')
- AM_CONDITIONAL([HAVE_PSM2_X86_64], [test x$psm2_ARCH = xx86_64])
- AC_SUBST([HAVE_PSM2_X86_64])
- AC_SUBST([psm2_ARCH])
diff --git a/libfabric-sh.patch b/libfabric-sh.patch
deleted file mode 100644
index f29567f..0000000
--- a/libfabric-sh.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- libfabric-1.4.1/prov/gni/configure.m4.orig 2017-04-15 18:30:07.926608137 +0200
-+++ libfabric-1.4.1/prov/gni/configure.m4 2017-04-15 18:33:35.529939101 +0200
-@@ -71,10 +71,7 @@
- [AC_DEFINE_UNQUOTED([HAVE_XPMEM], [0], [Define to 1 if xpmem available])
- ])
-
-- gni_path_to_gni_pub=${CRAY_GNI_HEADERS_CFLAGS:2}
--dnl looks like we need to get rid of some white space
-- gni_path_to_gni_pub=${gni_path_to_gni_pub%?}/gni_pub.h
-- gni_path_to_gni_pub=${CRAY_GNI_HEADERS_CFLAGS:2}
-+ gni_path_to_gni_pub=${CRAY_GNI_HEADERS_CFLAGS#-I}
- dnl looks like we need to get rid of some white space
- gni_path_to_gni_pub=${gni_path_to_gni_pub%?}/gni_pub.h
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libfabric.git/commitdiff/95834fd4d2da2fc007700e3c1cc37ee2626a65d7
More information about the pld-cvs-commit
mailing list