From bcdeaea53e469e67ed9cedb503f2ee9a7d3227c0 Mon Sep 17 00:00:00 2001 From: anolis-bot Date: Tue, 16 May 2023 16:25:22 +0800 Subject: [PATCH] update to libpsm2-11.2.230-1.el8.1 Signed-off-by: anolis-bot --- dist | 1 + download | 2 +- libpsm2.spec | 35 ++++++++++++++++++++++------------- 3 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 dist diff --git a/dist b/dist new file mode 100644 index 0000000..9c0e36e --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8 diff --git a/download b/download index 2fa169a..ec5d440 100644 --- a/download +++ b/download @@ -1 +1 @@ -88ec247b6f4082c13e95818c87511e23 libpsm2-11.2.206.tar.gz +784255506ce8e319e8221cafa8b93229 PSM2_11.2.230.tar.gz diff --git a/libpsm2.spec b/libpsm2.spec index 25a71e8..c23203d 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -52,17 +52,12 @@ # Summary: Intel PSM Libraries Name: libpsm2 -Version: 11.2.206 -Release: 1%{?dist} +Version: 11.2.230 +Release: 1%{?dist}.1 License: BSD or GPLv2 -URL: https://github.com/intel/opa-psm2 +URL: https://github.com/cornelisnetworks/opa-psm2/ -# The tarball can be created by: -# git clone https://github.com/intel/opa-psm2.git -# cd opa-psm2 -# git checkout c3a7d9468d5623c0164b783346bada8664a9a2c9 -# make dist -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/cornelisnetworks/opa-psm2/archive/refs/tags/PSM2_%{version}.tar.gz # The OPA product is supported on x86_64 only: ExclusiveArch: x86_64 @@ -70,6 +65,7 @@ BuildRequires: libuuid-devel BuildRequires: numactl-devel BuildRequires: systemd BuildRequires: gcc +BuildRequires: make Obsoletes: hfi1-psm < 1.0.0 %package devel @@ -100,18 +96,23 @@ Development files for the Intel PSM library Support for MPIs linked with PSM versions < 2 %prep -%setup -q -n %{name}-%{version} +%setup -q -n opa-psm2-PSM2_%{version} %build %{set_build_flags} -make %{?_smp_mflags} +%{make_build} %install +%if 0%{?fedora} +export DISTRO=fedora +%endif +%if 0%{?rhel} +export DISTRO=rhel +%endif %make_install rm -f %{buildroot}%{_libdir}/*.a -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -141,6 +142,14 @@ rm -f %{buildroot}%{_libdir}/*.a %endif %changelog +* Wed Feb 08 2023 Michal Schmidt - 11.2.230-1.1 +- Disable the gating test that does not work without hfi1 hardware. +- Resolves: rhbz#2110923 + +* Fri Feb 03 2023 Michal Schmidt - 11.2.230-1 +- Rebase to upstream release 11.2.230 +- Resolves: rhbz#2110923 + * Tue Dec 07 2021 Honggang Li - 11.2.206-1 - Rebase to latest upstream release 11.2.206 - Resolves: bz1989162 -- Gitee