openblas: raise an error when using unsupported Apple clang (#3577)

This commit is contained in:
Denis Davydov 2017-03-28 16:14:12 +03:00 committed by Adam J. Stewart
parent 89d08c5be4
commit a8c58551ae

View file

@ -76,6 +76,12 @@ def check_compilers(self):
'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