From 125fc2e611130df7f52916bd41909abdbaed250c Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 16 Apr 2020 07:48:19 -0700 Subject: MPark.Variant: GCC 7.3.1 Conflict (#16081) * MPark.Variant: GCC 7.3.1 Conflict Due to an ICE in this specific patch-release of GCC, compile errors in downstream packages should be avoided with a clean conflict. * Fix superfluous spaces Co-Authored-By: Adam J. Stewart * Fix typo Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/mpark-variant/package.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/mpark-variant/package.py b/var/spack/repos/builtin/packages/mpark-variant/package.py index 85b9bfb82d..67fd8249de 100644 --- a/var/spack/repos/builtin/packages/mpark-variant/package.py +++ b/var/spack/repos/builtin/packages/mpark-variant/package.py @@ -19,5 +19,14 @@ class MparkVariant(CMakePackage): # Ref.: https://github.com/mpark/variant/pull/73 patch('nvcc.patch', when='@:1.4.0') - conflicts('%gcc@:4.7') - conflicts('%clang@:3.5') + cxx11_msg = 'MPark.Variant needs a C++11-capable compiler. ' \ + 'See https://github.com/mpark/variant#requirements' + conflicts('%gcc@:4.7', msg=cxx11_msg) + conflicts('%clang@:3.5', msg=cxx11_msg) + + conflicts('%gcc@7.3.1', + msg='GCC 7.3.1 has a bug that prevents using MPark.Variant. ' + 'See https://github.com/mpark/variant/issues/43 and ' + 'https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84785 ' + 'Please use a different compiler version or another ' + 'compiler.') -- cgit v1.2.3-70-g09d2