llvm: Add missing include for version range 8 to 11 (#31639)

This commit is contained in:
haralmha 2022-07-25 11:39:12 +02:00 committed by GitHub
parent b56871dd9c
commit bf838fe15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,6 +369,11 @@ class Llvm(CMakePackage, CudaPackage):
# make libflags a list in openmp subproject when ~omp_as_runtime # make libflags a list in openmp subproject when ~omp_as_runtime
patch('libomp-libflags-as-list.patch', when='@3.7:14') patch('libomp-libflags-as-list.patch', when='@3.7:14')
# Add missing include leading to build fail with clang
patch('https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1.patch?full_index=1',
sha256='514926d661635de47972c7d403c9c4669235aa51e22e56d44676d2a2709179b6',
when='@8:11')
# The functions and attributes below implement external package # The functions and attributes below implement external package
# detection for LLVM. See: # detection for LLVM. See:
# #