|
|
|
@ -1,27 +1,21 @@
|
|
|
|
|
Name: pmix
|
|
|
|
|
Version: 2.2.5
|
|
|
|
|
Version: 3.2.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Process Management Interface Exascale (PMIx)
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pmix.org/
|
|
|
|
|
Source0: https://github.com/pmix/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Do-not-follow-links-when-doing-chown.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: environment(modules)
|
|
|
|
|
BuildRequires: flex
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: hwloc-devel
|
|
|
|
|
BuildRequires: libevent-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: munge-devel
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: pkgconf
|
|
|
|
|
BuildRequires: pkgconfig(hwloc)
|
|
|
|
|
BuildRequires: pkgconfig(munge)
|
|
|
|
|
|
|
|
|
|
Provides: pmi
|
|
|
|
|
Requires: environment(modules)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Process Management Interface (PMI) has been used for quite some time as
|
|
|
|
@ -49,12 +43,37 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%package pmi
|
|
|
|
|
Summary: The %{name} implementation of libpmi and libpmi2
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Conflicts: slurm-pmi
|
|
|
|
|
%description pmi
|
|
|
|
|
The %{name}-pmi package contains the %{name} implementation of
|
|
|
|
|
the libpmi and libpmi2 backward-compatibility libraries.
|
|
|
|
|
|
|
|
|
|
%package pmi-devel
|
|
|
|
|
Summary: Development files for %{name}-pmi
|
|
|
|
|
Requires: %{name}-pmi%{?_isa} = %{version}-%{release}
|
|
|
|
|
Conflicts: slurm-pmi-devel
|
|
|
|
|
%description pmi-devel
|
|
|
|
|
The %{name}-pmi-devel package contains the development files for
|
|
|
|
|
the libpmi and libpmi2 backward-compatibility libraries.
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Tools for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description tools
|
|
|
|
|
The %{name}-tools package contains for use with PMIx-based RMs and language-
|
|
|
|
|
based starters (e.g., mpirun).
|
|
|
|
|
|
|
|
|
|
* pinfo - show MCA params, build info, etc.
|
|
|
|
|
* pps - get list of active nspaces, retrieve status of jobs/nodes/procs
|
|
|
|
|
* pevent - inject an event into the system
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
echo touching lexer sources to recompile them ...
|
|
|
|
|
# touch lexer sources to recompile them
|
|
|
|
|
find src -name \*.l -print -exec touch --no-create {} \;
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -64,16 +83,14 @@ find src -name \*.l -print -exec touch --no-create {} \;
|
|
|
|
|
--sysconfdir=%{_sysconfdir}/%{name} \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
|
--enable-pmix-binaries \
|
|
|
|
|
--with-tests-examples \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--enable-pmi-backward-compatibility \
|
|
|
|
|
--with-munge
|
|
|
|
|
|
|
|
|
|
%make_build V=1
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__make} check
|
|
|
|
|
%make_build check
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
@ -81,70 +98,6 @@ find src -name \*.l -print -exec touch --no-create {} \;
|
|
|
|
|
# remove libtool archives
|
|
|
|
|
find %{buildroot} -name '*.la' | xargs rm -f
|
|
|
|
|
|
|
|
|
|
# move libpmi/libpmi2 for environment module usage
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
|
mv %{buildroot}%{_libdir}/libpmi.so* %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
|
mv %{buildroot}%{_libdir}/libpmi2.so* %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
|
|
# set up pmix self-test infra for install
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/test
|
|
|
|
|
for f in pmix_client pmix_regex
|
|
|
|
|
do
|
|
|
|
|
mv test/.libs/$f %{buildroot}%{_datadir}/%{name}/$f
|
|
|
|
|
done
|
|
|
|
|
mv test/.libs/pmix_test %{buildroot}%{_datadir}/%{name}/test/pmix_test
|
|
|
|
|
|
|
|
|
|
# install pmi/pmix environment module file
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_modulesdir}/pmi
|
|
|
|
|
cat >%{buildroot}%{_modulesdir}/pmi/%{name}-%{_arch} <<EOF
|
|
|
|
|
#%%Module 1.0
|
|
|
|
|
#
|
|
|
|
|
# pmi/pmix module for use with 'environment-modules' package:
|
|
|
|
|
#
|
|
|
|
|
conflict pmi
|
|
|
|
|
prepend-path LD_LIBRARY_PATH %{_libdir}/%{name}/lib
|
|
|
|
|
prepend-path PKG_CONFIG_PATH %{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# install pkgconfig file pmix.pc
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
|
cat >%{buildroot}%{_libdir}/pkgconfig/%{name}.pc <<EOF
|
|
|
|
|
includedir=%{_includedir}
|
|
|
|
|
libdir=%{_libdir}
|
|
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
|
Version: %{version}
|
|
|
|
|
Description: PMI Exascale (PMIx) library
|
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
|
Libs: -L\${libdir} -lpmix
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# install pkgconfig file pmi.pc for environment module usage
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
|
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi.pc <<EOF
|
|
|
|
|
includedir=%{_includedir}
|
|
|
|
|
libdir=%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
|
|
Name: pmi
|
|
|
|
|
Version: %{version}
|
|
|
|
|
Description: (PMIx) PMI compatibility library
|
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
|
Libs: -L\${libdir} -lpmi
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# install pkgconfig file pmi2.pc for environment module usage
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
|
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi2.pc <<EOF
|
|
|
|
|
includedir=%{_includedir}
|
|
|
|
|
libdir=%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
|
|
Name: pmi2
|
|
|
|
|
Version: %{version}
|
|
|
|
|
Description: (PMIx) PMI2 compatibility library
|
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
|
Libs: -L\${libdir} -lpmi2
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%ldconfig_scriptlets devel
|
|
|
|
|
|
|
|
|
@ -152,66 +105,143 @@ EOF
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README
|
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
|
%dir %{_datadir}/%{name}/test
|
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
|
%dir %{_libdir}/%{name}/lib
|
|
|
|
|
%dir %{_modulesdir}/pmi
|
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/*.conf
|
|
|
|
|
%{_datadir}/%{name}/*.txt
|
|
|
|
|
%{_datadir}/%{name}/pmix_*
|
|
|
|
|
%{_datadir}/%{name}/test/pmix_test
|
|
|
|
|
%{_libdir}/libpmix.so.*
|
|
|
|
|
%{_libdir}/libmca_common_dstore.so.*
|
|
|
|
|
%{_libdir}/libmca_common_dstore.so.1*
|
|
|
|
|
%{_libdir}/libpmix.so.2*
|
|
|
|
|
%{_libdir}/%{name}/*.so
|
|
|
|
|
%{_libdir}/%{name}/lib/*.so.*
|
|
|
|
|
%{_modulesdir}/pmi/*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/%{name}/*.supp
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_libdir}/libpmix.so
|
|
|
|
|
%{_includedir}/pmix*.h
|
|
|
|
|
%{_libdir}/libmca_common_dstore.so
|
|
|
|
|
%{_libdir}/%{name}/lib/*.so
|
|
|
|
|
%{_libdir}/%{name}/lib/pkgconfig/*.pc
|
|
|
|
|
%{_libdir}/libpmix.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
%files pmi
|
|
|
|
|
%{_libdir}/libpmi.so.1*
|
|
|
|
|
%{_libdir}/libpmi2.so.1*
|
|
|
|
|
|
|
|
|
|
%files pmi-devel
|
|
|
|
|
%{_includedir}/{pmi,pmi2}.h
|
|
|
|
|
%{_libdir}/libpmi.so
|
|
|
|
|
%{_libdir}/libpmi2.so
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 14 2023 Kamal Heib <kheib@redhat.com> - 2.2.5-3
|
|
|
|
|
- Add gating test
|
|
|
|
|
- Resolves: RHEL-3692
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.3-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.3-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Feb 16 2021 Philip Kovacs <pkfed@fedoraproject.org> - 3.2.3-1
|
|
|
|
|
* Update to 3.2.3
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 9 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.2.2-1
|
|
|
|
|
* Update to 3.2.2
|
|
|
|
|
|
|
|
|
|
* Fri Nov 13 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.2.1-1
|
|
|
|
|
* Update to 3.2.1
|
|
|
|
|
|
|
|
|
|
* Fri Oct 30 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.2.1.0.1.rc1
|
|
|
|
|
* Update to 3.2.1rc1
|
|
|
|
|
|
|
|
|
|
* Tue Sep 15 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.6.0.2.rc1
|
|
|
|
|
* Bump for libevent changes
|
|
|
|
|
|
|
|
|
|
* Mon Aug 10 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.6.0.1.rc1
|
|
|
|
|
* Update to 3.1.6rc1
|
|
|
|
|
|
|
|
|
|
* Fri Aug 7 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-6
|
|
|
|
|
- Give post-build checks more time to complete
|
|
|
|
|
|
|
|
|
|
* Thu Aug 6 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-5
|
|
|
|
|
- Restore armv7hl without post-build checks
|
|
|
|
|
|
|
|
|
|
* Tue Aug 4 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-4
|
|
|
|
|
- Exclude armv7hl
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-3
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Feb 24 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-1
|
|
|
|
|
- Update to 3.1.5
|
|
|
|
|
|
|
|
|
|
* Thu Feb 20 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-0.4.rc4
|
|
|
|
|
- Update to 3.1.5rc4
|
|
|
|
|
|
|
|
|
|
* Wed Feb 12 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-0.3.rc3
|
|
|
|
|
- Update to 3.1.5rc3
|
|
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.5-0.2.rc2
|
|
|
|
|
- Update to 3.1.5rc2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Aug 25 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.4-2
|
|
|
|
|
- Rebuilt for hwloc-2.0
|
|
|
|
|
|
|
|
|
|
* Fri Aug 9 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.4-1
|
|
|
|
|
- Update to 3.1.4
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.4-0.4.rc2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 21 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.4-0.3.rc2
|
|
|
|
|
- Create pmix-pmi and pmix-pmi-devel subpackages for pmi/pmi2 libs
|
|
|
|
|
- Remove rpm-generated pkgconfig files until upstream provides them
|
|
|
|
|
- Do not pull dependencies with pkgconfig unless package uses it
|
|
|
|
|
|
|
|
|
|
* Sat Jul 20 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.4-0.2.rc2
|
|
|
|
|
- Update to 3.1.4rc2
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.4-0.1.rc1
|
|
|
|
|
- Update to 3.1.4rc1
|
|
|
|
|
|
|
|
|
|
* Sat Jul 13 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.3-1
|
|
|
|
|
- Update to 3.1.3
|
|
|
|
|
|
|
|
|
|
* Thu Nov 02 2023 Kamal Heib <kheib@redhat.com> - 2.2.5-2
|
|
|
|
|
- Fix CVE-2023-41915
|
|
|
|
|
- Resolves: RHEL-3692
|
|
|
|
|
* Tue Jul 2 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.2-2
|
|
|
|
|
- Install libpmi/pmi2 backward-compatible libraries normally,
|
|
|
|
|
- not as a pmi environment module
|
|
|
|
|
|
|
|
|
|
* Mon Oct 11 2021 Honggang Li <honli@redhat.com> - 2.2.5-1
|
|
|
|
|
- Update to 2.2.5
|
|
|
|
|
- Related: rhbz#2008513
|
|
|
|
|
* Wed Jun 19 2019 Philip Kovacs <pkfed@fedoraproject.org> - 3.1.2-1
|
|
|
|
|
- Update to 3.1.2
|
|
|
|
|
- Replace __make with make
|
|
|
|
|
|
|
|
|
|
* Wed Jun 03 2020 Honggang Li <honli@redhat.com> - 2.2.4rc1-1
|
|
|
|
|
- Update to 2.2.4rc1
|
|
|
|
|
- Related: rhbz#1840596
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 20 2020 Honggang Li <honli@redhat.com> - 2.2.3-1
|
|
|
|
|
- Update to 2.2.3
|
|
|
|
|
- Add pmix-devel into CRB repository
|
|
|
|
|
- Related: rhbz#1816198, rhbz#1822520
|
|
|
|
|
* Sun Nov 25 2018 Orion Poplawski <orion@nwra.com> - 3.0.2-1
|
|
|
|
|
- Update to 3.0.2
|
|
|
|
|
|
|
|
|
|
* Wed Mar 20 2019 Jarod Wilson <jarod@redhat.com> - 2.1.1-2
|
|
|
|
|
- Add the --with-tests-examples flag to be able to better verify functionality
|
|
|
|
|
- Related: rhbz#1682374
|
|
|
|
|
* Mon Oct 1 2018 Philip Kovacs <pkfed@fedoraproject.org> - 2.1.4-1
|
|
|
|
|
- Update to 2.1.4
|
|
|
|
|
|
|
|
|
|
* Fri Mar 16 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.1-1
|
|
|
|
|
* Fri Mar 16 2018 Philip Kovacs <pkfed@fedoraproject.org> - 2.1.1-1
|
|
|
|
|
- Update to 2.1.1
|
|
|
|
|
|
|
|
|
|
* Sun Feb 18 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.0-3
|
|
|
|
|
* Sun Feb 18 2018 Philip Kovacs <pkfed@fedoraproject.org> - 2.1.0-3
|
|
|
|
|
- Add patch to remove unneeded check for C++
|
|
|
|
|
|
|
|
|
|
* Thu Feb 15 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.0-2
|
|
|
|
|
* Thu Feb 15 2018 Philip Kovacs <pkfed@fedoraproject.org> - 2.1.0-2
|
|
|
|
|
- Rebuild for libevent soname bump
|
|
|
|
|
|
|
|
|
|
* Sat Feb 10 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.0-1
|
|
|
|
|
* Sat Feb 10 2018 Philip Kovacs <pkfed@fedoraproject.org> - 2.1.0-1
|
|
|
|
|
- Update to 2.1.0
|
|
|
|
|
- Added enviromnent module for pmi/pmix
|
|
|
|
|
- Added pkgconfig files for pmix/pmi/pmi2
|
|
|
|
|