automatic version update by autodist [release 1.2.1-1mamba;Sat Feb 13 2021]
This commit is contained in:
parent
331c20299a
commit
54b0d948f7
37
libibverbs-1.2.1-arm-revert-generic-implementation.patch
Normal file
37
libibverbs-1.2.1-arm-revert-generic-implementation.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 20e2daec4578c1df10d8b599bf3b525a9b3fc6c3 Mon Sep 17 00:00:00 2001
|
||||
From: Steve Wise <swise@opengridcomputing.com>
|
||||
Date: Tue, 7 Jun 2016 07:42:47 -0700
|
||||
Subject: Fail compiles if no platform specific memory barriers exist
|
||||
|
||||
Currently there is a "generic" implementation for the memory barrier
|
||||
macros in arch.h. These turned out to be insuffient for ARM64 causing
|
||||
memory corruption problems when doing RDMA operations. So going forward,
|
||||
fail a compile on a platform w/o platform-specific memory barrier macros.
|
||||
|
||||
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
|
||||
Signed-off-by: Doug Ledford <dledford@redhat.com>
|
||||
---
|
||||
include/infiniband/arch.h | 7 +------
|
||||
1 file changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
diff --git a/include/infiniband/arch.h b/include/infiniband/arch.h
|
||||
index c31dd0a..e35ecf0 100644
|
||||
--- a/include/infiniband/arch.h
|
||||
+++ b/include/infiniband/arch.h
|
||||
@@ -132,12 +132,7 @@ static inline uint64_t ntohll(uint64_t x) { return x; }
|
||||
|
||||
#else
|
||||
|
||||
-#warning No architecture specific defines found. Using generic implementation.
|
||||
-
|
||||
-#define mb() asm volatile("" ::: "memory")
|
||||
-#define rmb() mb()
|
||||
-#define wmb() mb()
|
||||
-#define wc_wmb() wmb()
|
||||
+#error No architecture specific memory barrier defines found!
|
||||
|
||||
#endif
|
||||
|
||||
--
|
||||
cgit 1.2.3-1.el7
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name: libibverbs
|
||||
Version: 1.1.8
|
||||
Version: 1.2.1
|
||||
Release: 1mamba
|
||||
Summary: A library that allows programs to use RDMA "verbs" for direct access to RDMA hardware from userspace
|
||||
Group: System/Libraries
|
||||
@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.openfabrics.org
|
||||
## GITSOURCE git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git libibverbs-1.1.8
|
||||
Source: git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/libibverbs-%{version}/libibverbs-%{version}.tar.bz2
|
||||
Patch0: libibverbs-1.2.1-arm-revert-generic-implementation.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -38,9 +39,12 @@ This package contains utility applications for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%ifarch arm
|
||||
%patch0 -R -p1
|
||||
%endif
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
%make
|
||||
|
||||
@ -81,14 +85,11 @@ This package contains utility applications for %{name}.
|
||||
%{_bindir}/ibv_uc_pingpong
|
||||
%{_bindir}/ibv_ud_pingpong
|
||||
%{_bindir}/ibv_xsrq_pingpong
|
||||
%{_mandir}/man1/ibv_asyncwatch.1*
|
||||
%{_mandir}/man1/ibv_devices.1*
|
||||
%{_mandir}/man1/ibv_devinfo.1*
|
||||
%{_mandir}/man1/ibv_rc_pingpong.1*
|
||||
%{_mandir}/man1/ibv_srq_pingpong.1*
|
||||
%{_mandir}/man1/ibv_uc_pingpong.1*
|
||||
%{_mandir}/man1/ibv_ud_pingpong.1*
|
||||
%{_mandir}/man1/ibv_*.1*
|
||||
|
||||
%changelog
|
||||
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.8-1mamba
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user