openblas: raise an error when using unsupported Apple clang (#3577)
This commit is contained in:
parent
89d08c5be4
commit
a8c58551ae
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue