precice: add compiler conflicts (#13644)

This commit is contained in:
Frédéric Simonis 2019-11-08 17:33:00 +01:00 committed by Adam J. Stewart
parent f4a1666b1a
commit 3f7fd4037f

View file

@ -48,6 +48,13 @@ class Precice(CMakePackage):
# numpy 1.17+ requires Python 3 # numpy 1.17+ requires Python 3
depends_on('py-numpy@:1.16', when='+python', type=('build', 'run')) depends_on('py-numpy@:1.16', when='+python', type=('build', 'run'))
# We require C++11 compiler support as well as
# library support for time manipulators (N2071, N2072)
conflicts('%gcc@:4')
conflicts('%clang@:3.7')
conflicts('%intel@:14')
conflicts('%pgi@:14')
def cmake_args(self): def cmake_args(self):
"""Populate cmake arguments for precice.""" """Populate cmake arguments for precice."""
spec = self.spec spec = self.spec