OpenBLAS: More Precise GCC Conflicts (#20101)

* OpenBLAS: More Precise GCC Conflicts

Add more precise GCC conflicts so e.g. GCC 6 and GCC 7.5 don't fail.

* Compact syntax

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Axel Huebl 2020-11-30 16:09:37 -08:00 committed by GitHub
parent 7d79db2de7
commit 535acdcdb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,8 +112,8 @@ class Openblas(MakefilePackage):
patch('openblas_fujitsu_v0.3.11.patch', when='@0.3.11: %fj') patch('openblas_fujitsu_v0.3.11.patch', when='@0.3.11: %fj')
patch('openblas_fujitsu2.patch', when='@0.3.10: %fj') patch('openblas_fujitsu2.patch', when='@0.3.10: %fj')
# See https://github.com/spack/spack/issues/19932 # See https://github.com/spack/spack/issues/19932#issuecomment-733452619
conflicts('%gcc@:8.2.99', when='@0.3.11:') conflicts('%gcc@7.0.0:7.3.99,8.0.0:8.2.99', when='@0.3.11:')
# See https://github.com/spack/spack/issues/3036 # See https://github.com/spack/spack/issues/3036
conflicts('%intel@16', when='@0.2.15:0.2.19') conflicts('%intel@16', when='@0.2.15:0.2.19')