import libfabric-1.15.1-1.el8

This commit is contained in:
CentOS Sources 2022-11-08 02:05:50 -05:00 committed by Stepan Oksanichenko
parent 98d97864ef
commit 5374ceb1ab
3 changed files with 27 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libfabric-1.14.0.tar.bz2
SOURCES/libfabric-1.15.1.tar.bz2

View File

@ -1 +1 @@
be62df7562883b6a45f8475c5c8322a8112950af SOURCES/libfabric-1.14.0.tar.bz2
0ca001d826b8af7aa6c6cbb0bd90220d45b0933d SOURCES/libfabric-1.15.1.tar.bz2

View File

@ -1,5 +1,12 @@
%global __remake_config 1
# LTO is running out of memory when building on x86_64
%ifarch x86_64
%global _lto_cflags %{nil}
%endif
Name: libfabric
Version: 1.14.0
Version: 1.15.1
Release: 1%{?dist}
Summary: Open Fabric Interfaces
@ -7,7 +14,12 @@ License: BSD or GPLv2
URL: https://github.com/ofiwg/libfabric
Source0: https://github.com/ofiwg/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
BuildRequires: make
%if %{__remake_config}
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
%endif
BuildRequires: make
BuildRequires: gcc
BuildRequires: libnl3-devel
# RDMA not available on 32-bit ARM: #1484155
@ -16,10 +28,10 @@ BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel
%endif
%ifarch x86_64
%if 0%{?fedora} || ( 0%{?rhel} >= 6 && 0%{?rhel} <= 7 )
%if 0%{?fedora} || 0%{?rhel} == 7
BuildRequires: infinipath-psm-devel
%endif
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 7
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: libpsm2-devel
%endif
BuildRequires: numactl-devel
@ -48,9 +60,12 @@ developing applications that use %{name}.
%prep
%setup -q
%setup -q -n %{name}-%{version}
%build
%if %{__remake_config}
./autogen.sh
%endif
%configure --disable-static --disable-silent-rules
%make_build
@ -86,6 +101,11 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
* Wed Aug 17 2022 Michal Schmidt <mschmidt@redhat.com> - 1.15.1-1
- Update to upstream release 1.15.1
- Disable LTO on x86_64 due to memory issues (copied from Fedora)
- Resolves: rhbz#2040450
* Thu Nov 25 2021 Honggang Li <honli@redhat.com> - 1.14.0-1
- Rebase to upstream release v1.14.0
- Resolves: bz1970601