Prevent building llvm@8: with an incompatilble gcc (#11220)

This commit is contained in:
Federico Ficarelli 2019-04-18 16:58:41 +02:00 committed by Massimiliano Culpo
parent 4571a96a43
commit e64ee7e1be

View file

@ -573,6 +573,7 @@ class Llvm(CMakePackage):
# LLVM 4 and 5 does not build with GCC 8 # LLVM 4 and 5 does not build with GCC 8
conflicts('%gcc@8:', when='@:5') conflicts('%gcc@8:', when='@:5')
conflicts('%gcc@:5.0.999', when='@8:')
# Github issue #4986 # Github issue #4986
patch('llvm_gcc7.patch', when='@4.0.0:4.0.1+lldb %gcc@7.0:') patch('llvm_gcc7.patch', when='@4.0.0:4.0.1+lldb %gcc@7.0:')