From 1da7839898bc997ed408ea8f3c0ec2a0a12b16cd Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Mon, 13 Sep 2021 15:51:38 +0100 Subject: [PATCH] trilinos: add conflicts for fortran (#25911) --- var/spack/repos/builtin/packages/trilinos/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index 0b8e82d17e..93d41dbde7 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -203,6 +203,7 @@ class Trilinos(CMakePackage, CudaPackage): conflicts('~stratimikos') conflicts('@:12 gotype=long') + conflicts('+aztec', when='~fortran') conflicts('+basker', when='~amesos2') conflicts('+ifpack2', when='~belos') conflicts('+intrepid', when='~sacado') @@ -272,6 +273,9 @@ class Trilinos(CMakePackage, CudaPackage): conflicts('+stokhos', when='%xl') conflicts('+stokhos', when='%xl_r') + # Fortran mangling fails on Apple M1 (see spack/spack#25900) + conflicts('@:13.0.1 +fortran', when='target=m1') + # ###################### Dependencies ########################## # Explicit dependency variants