|
|
e53f70 |
#
|
|
|
e53f70 |
# This file is provided under a dual BSD/GPLv2 license. When using or
|
|
|
e53f70 |
# redistributing this file, you may do so under either license.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# GPL LICENSE SUMMARY
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# Copyright(c) 2015 Intel Corporation.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# This program is free software; you can redistribute it and/or modify
|
|
|
e53f70 |
# it under the terms of version 2 of the GNU General Public License as
|
|
|
e53f70 |
# published by the Free Software Foundation.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# This program is distributed in the hope that it will be useful, but
|
|
|
e53f70 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
e53f70 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
e53f70 |
# General Public License for more details.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# Contact Information:
|
|
|
e53f70 |
# Intel Corporation, www.intel.com
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# BSD LICENSE
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# Copyright(c) 2015 Intel Corporation.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# Redistribution and use in source and binary forms, with or without
|
|
|
e53f70 |
# modification, are permitted provided that the following conditions
|
|
|
e53f70 |
# are met:
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# * Redistributions of source code must retain the above copyright
|
|
|
e53f70 |
# notice, this list of conditions and the following disclaimer.
|
|
|
e53f70 |
# * Redistributions in binary form must reproduce the above copyright
|
|
|
e53f70 |
# notice, this list of conditions and the following disclaimer in
|
|
|
e53f70 |
# the documentation and/or other materials provided with the
|
|
|
e53f70 |
# distribution.
|
|
|
e53f70 |
# * Neither the name of Intel Corporation nor the names of its
|
|
|
e53f70 |
# contributors may be used to endorse or promote products derived
|
|
|
e53f70 |
# from this software without specific prior written permission.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
e53f70 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
e53f70 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
e53f70 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
e53f70 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
e53f70 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
e53f70 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
e53f70 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
e53f70 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
e53f70 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
e53f70 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
# Copyright (c) 2014-2015 Intel Corporation. All rights reserved.
|
|
|
e53f70 |
#
|
|
|
e53f70 |
Summary: Intel PSM Libraries
|
|
|
e53f70 |
Name: libpsm2
|
|
|
213fba |
Version: 11.2.91
|
|
|
cdfcb0 |
Release: 1%{?dist}
|
|
|
e53f70 |
License: BSD or GPLv2
|
|
|
cdfcb0 |
URL: https://github.com/intel/opa-psm2
|
|
|
e53f70 |
|
|
|
e53f70 |
# The tarball can be created by:
|
|
|
cdfcb0 |
# git clone https://github.com/intel/opa-psm2.git
|
|
|
e53f70 |
# cd opa-psm2
|
|
|
213fba |
# git checkout 853ab1113c4eabf7218dfab673e433588fe7a8c4
|
|
|
e53f70 |
# make dist
|
|
|
213fba |
Source0: %{name}-%{version}_1.tar.gz
|
|
|
cdfcb0 |
Patch1: 0001-temporally-replace-g3-with-default-g.patch
|
|
|
e53f70 |
|
|
|
e53f70 |
# The OPA product is supported on x86 64 only:
|
|
|
e53f70 |
ExclusiveArch: x86_64
|
|
|
e53f70 |
BuildRequires: libuuid-devel
|
|
|
e53f70 |
BuildRequires: numactl-devel
|
|
|
e53f70 |
BuildRequires: systemd
|
|
|
e53f70 |
BuildRequires: gcc
|
|
|
e53f70 |
Obsoletes: hfi1-psm < 1.0.0
|
|
|
e53f70 |
|
|
|
e53f70 |
%package devel
|
|
|
e53f70 |
Summary: Development files for Intel PSM
|
|
|
e53f70 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
e53f70 |
Requires: libuuid-devel
|
|
|
e53f70 |
|
|
|
e53f70 |
%package compat
|
|
|
e53f70 |
Summary: Compat library for Intel PSM
|
|
|
e53f70 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
e53f70 |
Requires: systemd-udev
|
|
|
e53f70 |
|
|
|
e53f70 |
%global _privatelibs libpsm_infinipath[.]so[.]1.*
|
|
|
e53f70 |
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
e53f70 |
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
e53f70 |
|
|
|
e53f70 |
%description
|
|
|
e53f70 |
The PSM Messaging API, or PSM API, is the low-level
|
|
|
e53f70 |
user-level communications interface for the Intel OPA
|
|
|
e53f70 |
family of products. PSM users are enabled with mechanisms
|
|
|
e53f70 |
necessary to implement higher level communications
|
|
|
e53f70 |
interfaces in parallel environments.
|
|
|
e53f70 |
|
|
|
e53f70 |
%description devel
|
|
|
e53f70 |
Development files for the Intel PSM library
|
|
|
e53f70 |
|
|
|
e53f70 |
%description compat
|
|
|
e53f70 |
Support for MPIs linked with PSM versions < 2
|
|
|
e53f70 |
|
|
|
e53f70 |
%prep
|
|
|
213fba |
%setup -q -n %{name}-%{version}_1
|
|
|
cdfcb0 |
%patch1 -p1
|
|
|
e53f70 |
|
|
|
e53f70 |
%build
|
|
|
e53f70 |
%{set_build_flags}
|
|
|
e53f70 |
make %{?_smp_mflags}
|
|
|
e53f70 |
|
|
|
e53f70 |
%install
|
|
|
e53f70 |
%make_install
|
|
|
e53f70 |
rm -f %{buildroot}%{_libdir}/*.a
|
|
|
e53f70 |
|
|
|
e53f70 |
%post -p /sbin/ldconfig
|
|
|
e53f70 |
%postun -p /sbin/ldconfig
|
|
|
e53f70 |
|
|
|
e53f70 |
%files
|
|
|
e53f70 |
%license COPYING
|
|
|
e53f70 |
%{_libdir}/libpsm2.so.2.1
|
|
|
e53f70 |
%{_libdir}/libpsm2.so.2
|
|
|
e53f70 |
%if 0%{?rhel} >= 8
|
|
|
e53f70 |
%{_udevrulesdir}/40-psm.rules
|
|
|
e53f70 |
%endif
|
|
|
e53f70 |
|
|
|
e53f70 |
|
|
|
e53f70 |
%files devel
|
|
|
e53f70 |
%{_libdir}/libpsm2.so
|
|
|
e53f70 |
%{_includedir}/psm2.h
|
|
|
e53f70 |
%{_includedir}/psm2_mq.h
|
|
|
e53f70 |
%{_includedir}/psm2_am.h
|
|
|
e53f70 |
%{_includedir}/hfi1diag
|
|
|
e53f70 |
|
|
|
e53f70 |
%files compat
|
|
|
e53f70 |
%{_libdir}/psm2-compat
|
|
|
e53f70 |
%{_udevrulesdir}/40-psm-compat.rules
|
|
|
e53f70 |
%{_prefix}/lib/libpsm2
|
|
|
e53f70 |
%if 0%{?fedora}
|
|
|
e53f70 |
%{_prefix}/lib/modprobe.d/libpsm2-compat.conf
|
|
|
e53f70 |
%endif
|
|
|
e53f70 |
%if 0%{?rhel} >= 8
|
|
|
e53f70 |
%{_sysconfdir}/modprobe.d/libpsm2-compat.conf
|
|
|
e53f70 |
%endif
|
|
|
e53f70 |
|
|
|
e53f70 |
%changelog
|
|
|
213fba |
* Thu Apr 09 2020 Honggang Li <honli@redhat.com> - 11.2.91-1
|
|
|
213fba |
- Rebase to latest upstream release 11.2.91
|
|
|
213fba |
- Resolves: bz1739284
|
|
|
213fba |
|
|
|
cdfcb0 |
* Tue Oct 29 2019 Honggang Li <honli@redhat.com> - 11.2.86-1
|
|
|
cdfcb0 |
- Rebase to latest upstream release 11.2.86
|
|
|
cdfcb0 |
- Resolves: bz1719681
|
|
|
cdfcb0 |
|
|
|
e53f70 |
* Mon Sep 24 2018 Honggang Li <honli@redhat.com> - 10.3.58-2
|
|
|
e53f70 |
- Fix corrupted libpsm2 debuginfo file
|
|
|
e53f70 |
- Resolves: bz1630766
|
|
|
e53f70 |
|
|
|
e53f70 |
* Fri Jun 22 2018 Honggang Li <honli@redhat.com> - 10.3.58-1
|
|
|
e53f70 |
- Rebase to latest upstream release 10.3.58.
|
|
|
e53f70 |
- Resolves: bz1594073
|
|
|
e53f70 |
|
|
|
e53f70 |
* Thu Mar 15 2018 - 10.3.8-5
|
|
|
e53f70 |
- Fix partial injection of Fedora build flags.
|
|
|
e53f70 |
- Double the sizeof array fdesc to fix a gcc compiling issue.
|
|
|
e53f70 |
- Resolves: bz1556062
|
|
|
e53f70 |
|
|
|
e53f70 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.3.8-4
|
|
|
e53f70 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e53f70 |
|
|
|
e53f70 |
* Thu Jan 4 2018 Honggang Li <honli@redhat.com> - 10.3.8-3
|
|
|
e53f70 |
- Filter PSM1 library as private library
|
|
|
e53f70 |
- Resolves: bz1530979
|
|
|
e53f70 |
|
|
|
e53f70 |
* Fri Dec 15 2017 Honggang Li <honli@redhat.com> - 10.3.8-2
|
|
|
e53f70 |
- Minor enhancement
|
|
|
e53f70 |
- Resolves: bz1526261
|
|
|
e53f70 |
|
|
|
e53f70 |
* Tue Dec 12 2017 Honggang Li <honli@redhat.com> - 10.3.8-1
|
|
|
e53f70 |
- Rebase to latest upstream release
|
|
|
e53f70 |
- Resolves: bz1524846
|
|
|
e53f70 |
|
|
|
e53f70 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.103_1-3
|
|
|
e53f70 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
e53f70 |
|
|
|
e53f70 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.103_1-2
|
|
|
e53f70 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e53f70 |
|
|
|
e53f70 |
* Thu Apr 13 2017 Honggang Li <honli@redhat.com> - 10.2.103_1-1
|
|
|
e53f70 |
- Rebase to latest upstream master branch.
|
|
|
e53f70 |
- Fix build failures caught by gcc 7.x.
|
|
|
e53f70 |
- Resolves: bz1423872
|
|
|
e53f70 |
|
|
|
e53f70 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.2-3
|
|
|
e53f70 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e53f70 |
|
|
|
e53f70 |
* Mon Jun 13 2016 Michal Schmidt <mschmidt@redhat.com> - 10.2.2-2
|
|
|
e53f70 |
- Remove redundant %%setup -n argument.
|
|
|
e53f70 |
- Packaging Guidelines: Never use "(R)" in description.
|
|
|
e53f70 |
|
|
|
e53f70 |
* Tue Jun 07 2016 Paul Reger <paul.j.reger@intel.com> - 10.2.2-1
|
|
|
e53f70 |
- Fix build failures only.
|
|
|
e53f70 |
|
|
|
e53f70 |
* Tue Apr 05 2016 Paul Reger <paul.j.reger@intel.com> - 10.2.1-1
|
|
|
e53f70 |
- Upstream PSM2 source code for Fedora.
|