diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f9af3ea --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libfabric-1.7.0.tar.bz2 diff --git a/.libfabric.metadata b/.libfabric.metadata new file mode 100644 index 0000000..f405181 --- /dev/null +++ b/.libfabric.metadata @@ -0,0 +1 @@ +3a7d939d60d87ca9629a53ff2e4ca72efe5ab750 SOURCES/libfabric-1.7.0.tar.bz2 diff --git a/SPECS/libfabric.spec b/SPECS/libfabric.spec new file mode 100644 index 0000000..975aab1 --- /dev/null +++ b/SPECS/libfabric.spec @@ -0,0 +1,152 @@ +Name: libfabric +Version: 1.7.0 +Release: 1%{?dist} +Summary: User-space RDMA Fabric Interfaces +Group: System Environment/Libraries +License: GPLv2 or BSD +Url: http://www.github.com/ofiwg/libfabric +Source: %{name}-%{version}.tar.bz2 + +BuildRequires: librdmacm-devel +BuildRequires: libibverbs-devel >= 1.2.0 +BuildRequires: libnl3-devel + +# infinipath-psm-devel only available for x86_64 +%ifarch x86_64 +BuildRequires: infinipath-psm-devel +BuildRequires: libpsm2-devel +%endif +# valgrind is unavailable for s390 +%ifnarch s390 +BuildRequires: valgrind-devel +%endif + +%ifarch x86_64 +%global configopts --enable-sockets --enable-verbs --enable-usnic --disable-static --enable-psm --enable-psm2 +%else +%global configopts --enable-sockets --enable-verbs --enable-usnic --disable-static +%endif + +%description +libfabric provides a user-space API to access high-performance fabric +services, such as RDMA. + +%package devel +Summary: Development files for the libfabric library +Group: System Environment/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development files for the libfabric library. + +%prep +%setup -q + +%build + +# defaults: with-dlopen can be over-rode: +%configure %{?_without_dlopen} %{configopts} \ +%ifnarch s390 + --with-valgrind +%endif + +make %{?_smp_mflags} V=1 + +%install +%make_install +# remove unpackaged files from the buildroot +rm -f %{buildroot}%{_libdir}/*.la + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%{_libdir}/libfabric.so.* +%{_bindir}/fi_info +%{_bindir}/fi_pingpong +%{_bindir}/fi_strerror +%{_libdir}/pkgconfig/%{name}.pc +%{_mandir}/man1/* +%license COPYING +%doc AUTHORS README + +%files devel +%{_libdir}/libfabric.so +%{_includedir}/* +%{_mandir}/man3/* +%{_mandir}/man7/* + +%changelog +* Thu Jan 31 2019 Honggang Li - 1.7.0-1 +- Rebase to latest release 1.7.0 +- Resolves: bz1637246 + +* Sat Sep 22 2018 Honggang Li - 1.6.1-2 +- Revert a psm2 commit to avoid sporadic assertion failures +- Resolves: bz1631874 + +* Tue Jun 5 2018 Honggang Li - 1.6.1-1 +- Rebase to latest release 1.6.1 +- Resolves: bz1483568 + +* Wed Jan 10 2018 Honggang Li - 1.5.3-1 +- Rebase to latest release 1.5.3 +- Resolves: bz1533293 + +* Thu Jan 4 2018 Honggang Li - 1.5.1-3 +- Add support of different CQ formats for the verbs/RDM +- Resolves: bz1530715 + +* Fri Oct 20 2017 Honggang Li - 1.5.1-2 +- Fix PPC32 compiling issue +- Resolves: bz1504395 + +* Tue Oct 17 2017 Honggang Li - 1.5.1-1 +- Rebase to v1.5.1 +- Resolves: bz1452791 + +* Tue May 16 2017 Honggang Li - 1.4.2-1 +- Update to upstream v1.4.2 release +- Related: bz1451100 + +* Wed Mar 01 2017 Jarod Wilson - 1.4.1-1 +- Update to upstream v1.4.1 release +- Related: bz1382827 + +* Mon May 30 2016 Honggang Li - 1.3.0-3 +- Rebuild against latest infinipath-psm. +- Related: bz1280143 + +* Mon May 30 2016 Honggang Li - 1.3.0-2 +- Rebuild libfabric to support Intel OPA PSM2. +- Related: bz1280143 + +* Wed May 4 2016 Honggang Li - 1.3.0-1 +- Update to latest upstream release +- Related: bz1280143 + +* Wed Sep 30 2015 Doug Ledford - 1.1.0-2 +- Rebuild against libnl3 now that the UD RoCE bug is fixed +- Related: bz1261028 + +* Fri Aug 14 2015 Honggang Li - 1.1.0-1 +- Rebase to upstream 1.1.0 +- Resolves: bz1253381 + +* Fri Aug 07 2015 Michal Schmidt - 1.1.0-0.2.rc4 +- Packaging Guidelines conformance fixes and spec file cleanups +- Related: bz1235266 + +* Thu Aug 6 2015 Honggang Li - 1.1.0-0.1.rc4 +- fix N-V-R issue and disable static library +- Related: bz1235266 + +* Tue Aug 4 2015 Honggang Li - 1.1.0rc4 +- Initial build for RHEL-7.2 +- Related: bz1235266 + +* Fri Jun 26 2015 Open Fabrics Interfaces Working Group 1.1.0rc1 +- Release 1.1.0rc1 + +* Sun May 3 2015 Open Fabrics Interfaces Working Group 1.0.0 +- Release 1.0.0