The package rpms/petsc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/petsc.git/commit/?id=c3c3682ba7fc....
Change:
-%ifarch s390x
Thanks.
Full change:
============
commit c3c3682ba7fc4527c62364cd9e34cc868292c9ad
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sun Oct 1 14:29:45 2017 +0200
Exclude MPI builds on s390x
diff --git a/petsc.spec b/petsc.spec
index 4cabede..c65d692 100644
--- a/petsc.spec
+++ b/petsc.spec
@@ -14,22 +14,29 @@
#
# No MPICH support on these arches
-%if 0%{?rhel} || 0%{?rhel} < 7
+%if 0%{?rhel} && 0%{?rhel} < 7
%ifarch %{power64}
%bcond_with mpich
%endif
%endif
-%if 0%{?rhel} || 0%{?rhel} < 7
+%if 0%{?rhel} && 0%{?rhel} < 7
%ifnarch %{power64}
%bcond_without mpich
%endif
%endif
-%if 0%{?fedora} || 0%{?rhel} >= 7
-%bcond_without mpich
-%endif
+%if 0%{?fedora}
+## Exclude MPI builds on s390x
%ifarch s390x
+%bcond_with mpich
%bcond_with openmpi
%else
+%bcond_without mpich
+%bcond_without openmpi
+%endif
+%endif
+
+%if 0%{?rhel} && 0%{?rhel} >= 7
+%bcond_without mpich
%bcond_without openmpi
%endif
@@ -39,10 +46,7 @@
## PETSC looks incompatible with serial MUMPS
%bcond_with mumps_serial
#
-## Does not build with SuperLU < 5.2.0
-%if 0%{?fedora} >= 25
%bcond_without superlu
-%endif
#
## SuperLUDIST needs parmetis
@@ -64,25 +68,12 @@
%{!?el6:%global with_suitesparse 1}
#
-## PETSc needs fftw's MPI implementation
-%if 0%{?fedora} >= 25
-%bcond_without fftw
-%else
-%bcond_with fftw
-%endif
-#
-
# 'scalapack' is required by 'mumps'
%if %{with openmpi}
%bcond_without mpi
%bcond_without sundials
-%ifarch s390x
-%bcond_with scalapack
-%bcond_with mumps
-%else
%bcond_without scalapack
%bcond_without mumps
-%endif
%bcond_without ptscotch
%bcond_without hypre
%endif
@@ -90,13 +81,8 @@
%if %{with mpich}
%bcond_without mpi
%bcond_without sundials
-%ifarch s390x
-%bcond_with scalapack
-%bcond_with mumps
-%else
%bcond_without scalapack
%bcond_without mumps
-%endif
%bcond_without ptscotch
%bcond_without hypre
%endif
@@ -124,7 +110,7 @@
Name: petsc
Summary: Portable Extensible Toolkit for Scientific Computation
Version: 3.7.7
-Release: 2%{?dist}
+Release: 3%{?dist}
License: BSD
URL:
https://www.mcs.anl.gov/petsc
Source0:
http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz
@@ -1002,6 +988,9 @@ make -C buildmpich_dir test
%endif
%changelog
+* Sun Oct 01 2017 Antonio Trande <sagitter(a)fedoraproject.org> - 3.7.7-3
+- Exclude MPI builds on s390x
+
* Sat Sep 30 2017 Antonio Trande <sagitter(a)fedoraproject.org> - 3.7.7-2
- Enable mpiuni-fortran-binding on MPI builds