From 3f7fd4037fe28f4256cda3f2c4da5406df02a22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Fri, 8 Nov 2019 17:33:00 +0100 Subject: [PATCH] precice: add compiler conflicts (#13644) --- var/spack/repos/builtin/packages/precice/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/precice/package.py b/var/spack/repos/builtin/packages/precice/package.py index d9cbae147a..148456a230 100644 --- a/var/spack/repos/builtin/packages/precice/package.py +++ b/var/spack/repos/builtin/packages/precice/package.py @@ -48,6 +48,13 @@ class Precice(CMakePackage): # numpy 1.17+ requires Python 3 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): """Populate cmake arguments for precice.""" spec = self.spec