From e983f61ee7a096a9f847805276b531201f563dd4 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 31 Jul 2023 19:20:48 -0400 Subject: [PATCH] Use bundled yaksa in RHEL builds --- mpich.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mpich.spec b/mpich.spec index b0269f0..15e285c 100644 --- a/mpich.spec +++ b/mpich.spec @@ -41,7 +41,11 @@ BuildRequires: numactl-devel %ifarch aarch64 ppc64le x86_64 BuildRequires: ucx-devel %endif +%if ! 0%{?rhel} BuildRequires: yaksa-devel +%else +Provides: bundled(yaksa) = 0.2 +%endif # For ./maint/extractcvars BuildRequires: perl(lib) %ifnarch s390 %{mips} @@ -151,7 +155,9 @@ CONFIGURE_OPTS=( %ifarch aarch64 ppc64le x86_64 --with-ucx %endif +%if ! 0%{?rhel} --with-yaksa +%endif ) # --with-device=ch3:nemesis