llvm: flang implies mlir (#27449)

This commit is contained in:
Harmen Stoppels 2021-11-16 18:08:07 +01:00 committed by GitHub
parent 54fc26bf34
commit 7c3b146789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,6 +199,8 @@ class Llvm(CMakePackage, CudaPackage):
# Introduced in version 11 as a part of LLVM and not a separate package.
conflicts("+flang", when="@:10")
conflicts('~mlir', when='+flang', msg='Flang requires MLIR')
# Older LLVM do not build with newer compilers, and vice versa
conflicts("%gcc@11:", when="@:7")
conflicts("%gcc@8:", when="@:5")