summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2017-03-28 16:14:12 +0300
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-28 08:14:12 -0500
commita8c58551ae0c41ba1f7d200f09b7384f9250aa46 (patch)
tree284d039cef5b99479221c11cb60b79cff7c151d5 /var
parent89d08c5be4006f5a11901e555a72678a45a556eb (diff)
downloadspack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.tar.gz
spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.tar.bz2
spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.tar.xz
spack-a8c58551ae0c41ba1f7d200f09b7384f9250aa46.zip
openblas: raise an error when using unsupported Apple clang (#3577)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openblas/package.py6
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