From 07f049d098bde1ba3572546ae23c4fc6789c8886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 8 Feb 2022 11:14:50 +0100 Subject: [PATCH] ucx is only available on three architectures --- mpich.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mpich.spec b/mpich.spec index 98a75b1..f49d566 100644 --- a/mpich.spec +++ b/mpich.spec @@ -29,15 +29,17 @@ Patch5: 0001-Revert-Remove-use-of-vasprintf.patch Patch6: esac-syntax-fix.diff BuildRequires: make +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gcc-gfortran BuildRequires: hwloc-devel >= 2.0 BuildRequires: libfabric-devel +%ifarch aarch64 ppc64le x86_64 BuildRequires: ucx-devel -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +%endif # For ./maint/extractcvars BuildRequires: perl(lib) %ifnarch s390 %{mips}