public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/intel-mpi-benchmarks] epel10: add with-conditionals for openmpi, mpich
Date: Wed, 22 Jul 2026 12:58:59 GMT [thread overview]
Message-ID: <178472513908.1.17605837308568476933.rpms-intel-mpi-benchmarks-147204a049ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/intel-mpi-benchmarks
Branch : epel10
Commit : 147204a049ea5364bd867296525cbcf9ff8a8c25
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2024-08-08T22:17:43+02:00
Stats : +19/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/intel-mpi-benchmarks/c/147204a049ea5364bd867296525cbcf9ff8a8c25?branch=epel10
Log:
add with-conditionals for openmpi, mpich
---
diff --git a/intel-mpi-benchmarks.spec b/intel-mpi-benchmarks.spec
index 5142901..8173370 100644
--- a/intel-mpi-benchmarks.spec
+++ b/intel-mpi-benchmarks.spec
@@ -1,3 +1,6 @@
+%bcond_without openmpi
+%bcond mpich %[!(0%{?rhel} >= 10)]
+
Summary: Intel MPI benchmarks
Name: intel-mpi-benchmarks
Version: 2021.8
@@ -28,6 +31,7 @@ BuildArch: noarch
%description license
This package contains the license of Intel MPI benchmarks.
+%if %{with openmpi}
%package openmpi
Summary: Intel MPI benchmarks compiled against openmpi
BuildRequires: openmpi-devel
@@ -39,7 +43,9 @@ Obsoletes: mpitests-openmpi < 7.4
%{desc}
This package was built against the Open MPI implementation of MPI.
+%endif
+%if %{with mpich}
%package mpich
Summary: Intel MPI benchmarks compiled against mpich
BuildRequires: mpich-devel
@@ -51,6 +57,7 @@ Obsoletes: mpitests-mpich < 7.4
%{desc}
This package was built against the MPICH implementation of MPI.
+%endif
%patchlist
0001-fix-compiler-warnings-for-gcc.patch
@@ -73,13 +80,17 @@ do_build() {
}
# do N builds, one for each mpi stack
+%if %{with openmpi}
%{_openmpi_load}
do_build
%{_openmpi_unload}
+%endif
+%if %{with mpich}
%{_mpich_load}
do_build
%{_mpich_unload}
+%endif
%install
do_install() {
@@ -92,22 +103,30 @@ do_install() {
}
# do N installs, one for each mpi stack
+%if %{with openmpi}
%{_openmpi_load}
do_install
%{_openmpi_unload}
+%endif
+%if %{with mpich}
%{_mpich_load}
do_install
%{_mpich_unload}
+%endif
%files license
%license license/{,use-of-trademark-}license.txt
+%if %{with openmpi}
%files openmpi
%{_libdir}/openmpi/bin/IMB-{MPI1,EXT,IO,NBC,RMA,MT,P2P}
+%endif
+%if %{with mpich}
%files mpich
%{_libdir}/mpich/bin/IMB-{MPI1,EXT,IO,NBC,RMA,MT,P2P}
+%endif
%changelog
%autochangelog
reply other threads:[~2026-07-22 12:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178472513908.1.17605837308568476933.rpms-intel-mpi-benchmarks-147204a049ea@fedoraproject.org \
--to=mschmidt@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox