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 <ajstewart426@gmail.com> * Fix typo Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
7c5fc6acea
commit
125fc2e611
@ -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.')
|
||||
|
Loading…
Reference in New Issue
Block a user