From 7dd1f365c043a9f36e202392310d8a236cd85524 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 27 Sep 2022 16:48:41 -0400 Subject: [PATCH] import libfabric-1.15.1-1.el8 --- .gitignore | 2 +- .libfabric.metadata | 2 +- SPECS/libfabric.spec | 30 +++++++++++++++++++++++++----- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 102667c..417bedb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libfabric-1.14.0.tar.bz2 +SOURCES/libfabric-1.15.1.tar.bz2 diff --git a/.libfabric.metadata b/.libfabric.metadata index ffb0fb4..3355a8e 100644 --- a/.libfabric.metadata +++ b/.libfabric.metadata @@ -1 +1 @@ -be62df7562883b6a45f8475c5c8322a8112950af SOURCES/libfabric-1.14.0.tar.bz2 +0ca001d826b8af7aa6c6cbb0bd90220d45b0933d SOURCES/libfabric-1.15.1.tar.bz2 diff --git a/SPECS/libfabric.spec b/SPECS/libfabric.spec index a0128a4..bc1f8b7 100644 --- a/SPECS/libfabric.spec +++ b/SPECS/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