phist can't be compiled with gcc older than 4.9.2 (#11677)

* phist can't be compiled with gcc older than 4.9.2
This commit is contained in:
jthies 2019-06-25 18:53:21 +02:00 committed by Chuck Atkins
parent 531114cd6c
commit 6bbc7e8d9b

View file

@ -111,6 +111,10 @@ class Phist(CMakePackage):
# required a separate package
conflicts('+fortran', when='@:1.6.99')
# older gcc's may produce incorrect SIMD code and fail
# to compile some OpenMP statements
conflicts('%gcc@:4.9.1')
def cmake_args(self):
spec = self.spec