!4 compile with fcommon to support gcc 10
From: @liu-yinsi Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
a6c103cbce
19
backport-libfabric-fix-multiple-definition.patch
Normal file
19
backport-libfabric-fix-multiple-definition.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- a/prov/verbs/src/fi_verbs.h 2018-05-09 03:27:04.000000000 +0800
|
||||||
|
+++ b/prov/verbs/src/fi_verbs.h 2021-08-04 17:37:52.143247627 +0800
|
||||||
|
@@ -680,11 +680,11 @@
|
||||||
|
int fi_ibv_dgram_av_open(struct fid_domain *domain_fid, struct fi_av_attr *attr,
|
||||||
|
struct fid_av **av_fid, void *context);
|
||||||
|
|
||||||
|
-struct fi_ops_atomic fi_ibv_msg_ep_atomic_ops;
|
||||||
|
-struct fi_ops_cm fi_ibv_msg_ep_cm_ops;
|
||||||
|
-struct fi_ops_msg fi_ibv_msg_ep_msg_ops;
|
||||||
|
-struct fi_ops_rma fi_ibv_msg_ep_rma_ops;
|
||||||
|
-struct fi_ops_msg fi_ibv_msg_srq_ep_msg_ops;
|
||||||
|
+extern struct fi_ops_atomic fi_ibv_msg_ep_atomic_ops;
|
||||||
|
+extern struct fi_ops_cm fi_ibv_msg_ep_cm_ops;
|
||||||
|
+extern struct fi_ops_msg fi_ibv_msg_ep_msg_ops;
|
||||||
|
+extern struct fi_ops_rma fi_ibv_msg_ep_rma_ops;
|
||||||
|
+extern struct fi_ops_msg fi_ibv_msg_srq_ep_msg_ops;
|
||||||
|
|
||||||
|
struct fi_ibv_connreq {
|
||||||
|
struct fid handle;
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: libfabric
|
Name: libfabric
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A core component of OpenFabric Interfaces
|
Summary: A core component of OpenFabric Interfaces
|
||||||
License: BSD or GPLv2
|
License: BSD or GPLv2
|
||||||
URL: http://ofiwg.github.io/libfabric/
|
URL: http://ofiwg.github.io/libfabric/
|
||||||
Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0001: backport-libfabric-fix-multiple-definition.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: gcc libibverbs-devel libnl3-devel librdmacm-devel
|
BuildRequires: gcc libibverbs-devel libnl3-devel librdmacm-devel
|
||||||
@ -43,7 +44,7 @@ BuildArch: noarch
|
|||||||
This contains man files for the using of libfabric.
|
This contains man files for the using of libfabric.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -n libfabric-%{version} -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -75,5 +76,8 @@ This contains man files for the using of libfabric.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Web Aug 04 2021 Liu Yinsi <liuyinsi@163.com> - 1.6.1-4
|
||||||
|
- fix multiple definition to support gcc 10
|
||||||
|
|
||||||
* Fri Nov 29 2019 huyan <hu.huyan@huawei.com> - 1.6.1-3
|
* Fri Nov 29 2019 huyan <hu.huyan@huawei.com> - 1.6.1-3
|
||||||
- Package Initialization
|
- Package Initialization
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user