diff --git a/dist b/dist new file mode 100644 index 0000000000000000000000000000000000000000..9c0e36ec42a2d9bfefacb21ac6354c9ddd910533 --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8 diff --git a/download b/download index 682fd098dae5188d20281ce836cfa0db26c3d234..58b75855e9c9f5260b64f0864ddf1fb0f65f558f 100644 --- a/download +++ b/download @@ -1 +1 @@ -697803f02ef79eca6dad59e7e65939fe libfabric-1.14.0.tar.bz2 +0fa59b48415fd1e24330da0869808937 libfabric-1.15.1.tar.bz2 diff --git a/libfabric.spec b/libfabric.spec index a0128a4ea7cc70b42515eefe7413dbeffb00f654..bc1f8b72954438334f5a70d7af5f13b926d3d7ae 100644 --- a/libfabric.spec +++ b/libfabric.spec @@ -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 - 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 - 1.14.0-1 - Rebase to upstream release v1.14.0 - Resolves: bz1970601