diff options
author | Denis Davydov <davydden@gmail.com> | 2017-03-28 16:14:12 +0300 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-03-28 08:14:12 -0500 |
commit | a8c58551ae0c41ba1f7d200f09b7384f9250aa46 (patch) | |
tree | 284d039cef5b99479221c11cb60b79cff7c151d5 | |
parent | 89d08c5be4006f5a11901e555a72678a45a556eb (diff) | |
download | spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.tar.gz spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.tar.bz2 spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.tar.xz spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.zip |
openblas: raise an error when using unsupported Apple clang (#3577)
-rw-r--r-- | var/spack/repos/builtin/packages/openblas/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py index b6a81c2055..bfa5a16b42 100644 --- a/var/spack/repos/builtin/packages/openblas/package.py +++ b/var/spack/repos/builtin/packages/openblas/package.py @@ -76,6 +76,12 @@ class Openblas(MakefilePackage): 'OpenBLAS does not support OpenMP with clang!' ) + spec = self.spec + if spec.satisfies('%clang@8.1.0:') and spec.satisfies('@:0.2.19'): + raise InstallError( + 'OpenBLAS @:0.2.19 does not build with Apple clang@8.1.0:' + ) + @property def make_defs(self): # Configure fails to pick up fortran from FC=/abs/path/to/f77, but |