[packages/libfabric] - updated to 1.6.0 - added cpu patch (take CPU from configure host_cpu, not uname -p)
qboosh
qboosh at pld-linux.org
Sat Apr 28 07:01:35 CEST 2018
commit 473a21b5ccd3d92e5bd649005b33eb375ea507ff
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 28 07:01:55 2018 +0200
- updated to 1.6.0
- added cpu patch (take CPU from configure host_cpu, not uname -p)
libfabric-cpu.patch | 11 +++++++++++
libfabric.spec | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/libfabric.spec b/libfabric.spec
index bd19c38..785e458 100644
--- a/libfabric.spec
+++ b/libfabric.spec
@@ -11,14 +11,15 @@
Summary: User-space RDMA Fabric interface library
Summary(pl.UTF-8): Biblioteka interfejsu przestrzeni użytkownika RDMA Fabric
Name: libfabric
-Version: 1.4.1
+Version: 1.6.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: 017a4b9d88ebdf3944c6e7ae22fed398
+# Source0-md5: 03482ff7db8b4760228a858c404e58aa
Patch0: %{name}-sh.patch
+Patch1: %{name}-cpu.patch
URL: https://github.com/ofiwg/libfabric
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.11
@@ -68,6 +69,7 @@ Statyczna biblioteka libfabric.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
diff --git a/libfabric-cpu.patch b/libfabric-cpu.patch
new file mode 100644
index 0000000..a113e15
--- /dev/null
+++ b/libfabric-cpu.patch
@@ -0,0 +1,11 @@
+--- libfabric-1.6.0/prov/psm2/configure.m4.orig 2018-02-12 17:32:15.000000000 +0100
++++ libfabric-1.6.0/prov/psm2/configure.m4 2018-04-27 22:32:17.177370643 +0200
+@@ -9,7 +9,7 @@
+ dnl
+ AC_DEFUN([FI_PSM2_CONFIGURE],[
+ # Determine if we can support the psm2 provider
+- psm2_ARCH=`uname -p | 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])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libfabric.git/commitdiff/473a21b5ccd3d92e5bd649005b33eb375ea507ff
More information about the pld-cvs-commit
mailing list