2019-12-14 18:56:42 +08:00
|
|
|
Name: libfabric
|
|
|
|
|
Version: 1.6.1
|
2021-09-10 12:42:16 +08:00
|
|
|
Release: 5
|
2019-12-14 18:56:42 +08:00
|
|
|
Summary: A core component of OpenFabric Interfaces
|
|
|
|
|
License: BSD or GPLv2
|
|
|
|
|
URL: http://ofiwg.github.io/libfabric/
|
|
|
|
|
Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
2021-08-02 07:42:13 +00:00
|
|
|
Patch0001: backport-libfabric-fix-multiple-definition.patch
|
2019-12-14 18:56:42 +08:00
|
|
|
|
|
|
|
|
|
2021-09-10 12:42:16 +08:00
|
|
|
BuildRequires: gcc libibverbs-devel libnl3-devel librdmacm-devel chrpath
|
2019-12-14 18:56:42 +08:00
|
|
|
%ifarch x86_64
|
|
|
|
|
BuildRequires: infinipath-psm-devel libpsm2-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric
|
|
|
|
|
communication services to applications. OFI is best described as a collection
|
|
|
|
|
of libraries and applications used to export fabric services. The key
|
|
|
|
|
components of OFI are: application interfaces, provider libraries, kernel
|
|
|
|
|
services, daemons, and test applications.
|
|
|
|
|
|
|
|
|
|
Libfabric is a core component of OFI. It is the library that defines and
|
|
|
|
|
exports the user-space API of OFI, and is typically the only software that
|
|
|
|
|
applications deal with directly. It works in conjunction with provider
|
|
|
|
|
libraries, which are often integrated directly into libfabric.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Including header files and libraries for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This contains header files and libraries for the developing applications that
|
|
|
|
|
use libfabric.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Man files for libfabric
|
|
|
|
|
Requires: man
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This contains man files for the using of libfabric.
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-08-02 07:42:13 +00:00
|
|
|
%autosetup -n libfabric-%{version} -p1
|
2019-12-14 18:56:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-silent-rules --disable-static
|
2021-09-10 12:42:16 +08:00
|
|
|
%make_build V=1
|
2019-12-14 18:56:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
2021-09-10 12:42:16 +08:00
|
|
|
chrpath -d %{buildroot}%{_bindir}/fi_*
|
2019-12-14 18:56:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc AUTHORS README
|
|
|
|
|
%{_includedir}/rdma/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-09-10 12:42:16 +08:00
|
|
|
* Fri Sept 10 2021 gongzhengtang <gongzhengtang@huawei.com> -1.6.1-5
|
|
|
|
|
- fix rpath
|
2021-08-02 07:42:13 +00:00
|
|
|
* Web Aug 04 2021 Liu Yinsi <liuyinsi@163.com> - 1.6.1-4
|
|
|
|
|
- fix multiple definition to support gcc 10
|
|
|
|
|
|
2019-12-14 18:56:42 +08:00
|
|
|
* Fri Nov 29 2019 huyan <hu.huyan@huawei.com> - 1.6.1-3
|
|
|
|
|
- Package Initialization
|