From 250a553c3cb00a93e8e14c5bd7065e1ec495e62e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 19 Aug 2022 18:16:12 +0000 Subject: [PATCH] Auto sync2gitlab import of libfabric-1.15.1-1.el8.src.rpm --- .gitignore | 1 + libfabric.spec | 30 +++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0f84a13..bfcc8af 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libfabric-1.14.0.tar.bz2 +/libfabric-1.15.1.tar.bz2 diff --git a/libfabric.spec b/libfabric.spec index a0128a4..bc1f8b7 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 diff --git a/sources b/sources index dfbfcfc..291f568 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libfabric-1.14.0.tar.bz2) = 827fee42bdae1b226d2b3c3b7c2b9b29866791c7a8e9a20239459e6c5a2927d8674367bb075cfe00cc609f538c4630e3af9f566b89d00e337ae224c725cf5f85 +SHA512 (libfabric-1.15.1.tar.bz2) = 241682b83bdec26cdf5fe918c445732bcd123c01798d1973c4c6bff0d4c7ca271a782ff8af8f9bcaf1560580804c3088a4c18fdf9fbc58d9c3d98f4377903818