From 14391592e48bb18f1488d197261bb2356497dbb3 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 16:12:30 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/pmix#c78cb759421223de2bf6c7e0b754f46626dbaa0c --- .gitignore | 3 + .rpmlint | 5 + pmix.spec | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 270 insertions(+) create mode 100644 .rpmlint create mode 100644 pmix.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1b6bf92 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/pmix-*.tar.bz2 +/pmix-*.src.rpm + diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..6dd24f7 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,5 @@ +from Config import * +addFilter("W: no-documentation") +addFilter("W: no-manual-page-for-binary") +addFilter("W: shared-lib-calls-exit") +addFilter("W: spelling-error") diff --git a/pmix.spec b/pmix.spec new file mode 100644 index 0000000..49e6a7e --- /dev/null +++ b/pmix.spec @@ -0,0 +1,261 @@ +%global name_version %{name}-%{version}rc1 + +Name: pmix +Version: 3.1.6 +Release: 0.2.rc1%{?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 + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: flex +BuildRequires: gcc +BuildRequires: hwloc-devel +BuildRequires: libevent-devel +BuildRequires: libtool +BuildRequires: munge-devel +BuildRequires: perl-interpreter + +%description +The Process Management Interface (PMI) has been used for quite some time as +a means of exchanging wireup information needed for interprocess +communication. Two versions (PMI-1 and PMI-2) have been released as part of +the MPICH effort. While PMI-2 demonstrates better scaling properties than its +PMI-1 predecessor, attaining rapid launch and wireup of the roughly 1M +processes executing across 100k nodes expected for exascale operations remains +challenging. + +PMI Exascale (PMIx) represents an attempt to resolve these questions by +providing an extended version of the PMI standard specifically designed to +support clusters up to and including exascale sizes. The overall objective of +the project is not to branch the existing pseudo-standard definitions - in +fact, PMIx fully supports both of the existing PMI-1 and PMI-2 APIs - but +rather to (a) augment and extend those APIs to eliminate some current +restrictions that impact scalability, and (b) provide a reference +implementation of the PMI-server that demonstrates the desired level of +scalability. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +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} + +# touch lexer sources to recompile them +find src -name \*.l -print -exec touch --no-create {} \; + +%build +%{_builddir}/%{name_version}/autogen.pl +%configure \ + --prefix=%{_prefix} \ + --sysconfdir=%{_sysconfdir}/%{name} \ + --disable-static \ + --disable-silent-rules \ + --enable-shared \ + --enable-pmi-backward-compatibility \ + --with-munge + +%make_build + +%check +%make_build check + +%install +%make_install + +# remove libtool archives +find %{buildroot} -name '*.la' | xargs rm -f + +%ldconfig_scriptlets +%ldconfig_scriptlets devel + +%files +%license LICENSE +%doc README +%dir %{_datadir}/%{name} +%dir %{_libdir}/%{name} +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/*.conf +%{_datadir}/%{name}/*.txt +%{_libdir}/libmca_common_dstore.so.1* +%{_libdir}/libpmix.so.2* +%{_libdir}/%{name}/*.so + +%files devel +%{_datadir}/%{name}/*.supp +%{_includedir}/pmix*.h +%{_libdir}/libmca_common_dstore.so +%{_libdir}/libpmix.so + +%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 Sep 15 2020 Philip Kovacs - 3.1.6.0.2.rc1 +* Bump for libevent changes + +* Mon Aug 10 2020 Philip Kovacs - 3.1.6.0.1.rc1 +* Update to 3.1.6rc1 + +* Fri Aug 7 2020 Philip Kovacs - 3.1.5-6 +- Give post-build checks more time to complete + +* Thu Aug 6 2020 Philip Kovacs - 3.1.5-5 +- Restore armv7hl without post-build checks + +* Tue Aug 4 2020 Philip Kovacs - 3.1.5-4 +- Exclude armv7hl + +* Sat Aug 01 2020 Fedora Release Engineering - 3.1.5-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Feb 24 2020 Philip Kovacs - 3.1.5-1 +- Update to 3.1.5 + +* Thu Feb 20 2020 Philip Kovacs - 3.1.5-0.4.rc4 +- Update to 3.1.5rc4 + +* Wed Feb 12 2020 Philip Kovacs - 3.1.5-0.3.rc3 +- Update to 3.1.5rc3 + +* Mon Feb 10 2020 Philip Kovacs - 3.1.5-0.2.rc2 +- Update to 3.1.5rc2 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Aug 25 2019 Zbigniew Jędrzejewski-Szmek - 3.1.4-2 +- Rebuilt for hwloc-2.0 + +* Fri Aug 9 2019 Philip Kovacs - 3.1.4-1 +- Update to 3.1.4 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.1.4-0.4.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jul 21 2019 Philip Kovacs - 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 - 3.1.4-0.2.rc2 +- Update to 3.1.4rc2 + +* Fri Jul 19 2019 Philip Kovacs - 3.1.4-0.1.rc1 +- Update to 3.1.4rc1 + +* Sat Jul 13 2019 Philip Kovacs - 3.1.3-1 +- Update to 3.1.3 + +* Tue Jul 2 2019 Philip Kovacs - 3.1.2-2 +- Install libpmi/pmi2 backward-compatible libraries normally, +- not as a pmi environment module + +* Wed Jun 19 2019 Philip Kovacs - 3.1.2-1 +- Update to 3.1.2 +- Replace __make with make + +* Sat Feb 02 2019 Fedora Release Engineering - 3.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Nov 25 2018 Orion Poplawski - 3.0.2-1 +- Update to 3.0.2 + +* Mon Oct 1 2018 Philip Kovacs - 2.1.4-1 +- Update to 2.1.4 + +* Fri Mar 16 2018 Philip Kovacs - 2.1.1-1 +- Update to 2.1.1 + +* Sun Feb 18 2018 Philip Kovacs - 2.1.0-3 +- Add patch to remove unneeded check for C++ + +* Thu Feb 15 2018 Philip Kovacs - 2.1.0-2 +- Rebuild for libevent soname bump + +* Sat Feb 10 2018 Philip Kovacs - 2.1.0-1 +- Update to 2.1.0 +- Added enviromnent module for pmi/pmix +- Added pkgconfig files for pmix/pmi/pmi2 +- Ensure lexer sources are rebuilt +- Removed obsolete sasl support +- Use new ldconfig_scriplets macro + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 21 2017 Orion Poplawski - 1.2.2-1 +- Update to 1.2.2 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Sep 7 2016 Orion Poplawski - 1.1.5-1 +- Update to 1.1.5 + +* Fri Jun 10 2016 Orion Poplawski - 1.1.4-1 +- Update to 1.1.4 + +* Tue Mar 8 2016 Orion Poplawski - 1.1.3-1 +- Update to 1.1.3 + +* Mon Nov 16 2015 Orion Poplawski - 1.1.1-1 +- Update to 1.1.1 + +* Sat Nov 14 2015 Orion Poplawski - 1.1.0-1 +- Update to 1.1.0 + +* Tue Sep 1 2015 Orion Poplawski - 1.0.0-1 +- Initial version diff --git a/sources b/sources new file mode 100644 index 0000000..f1f6a29 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pmix-3.1.6rc1.tar.bz2) = 3177f9a39ab083e865b6a0e17478d870e9af8293ae9ede767b7c7e5e33be2795cac2779f6fe73dbfa122e994eda5b7fc1a7db25d7c47ffdd53a9ccf088977859