]> git.pld-linux.org Git - packages/opencl-clang.git/blob - llvm10.patch
up to 10.0.0
[packages/opencl-clang.git] / llvm10.patch
1 --- opencl-clang-10.0.0/CMakeLists.txt.orig     2020-04-10 16:29:26.493507026 +0200
2 +++ opencl-clang-10.0.0/CMakeLists.txt  2020-04-10 16:32:55.252632824 +0200
3 @@ -218,6 +218,10 @@
4  
5  set(LLVM_REQUIRES_EH ON)
6  
7 +if(LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND Polly IN_LIST LLVM_AVAILABLE_LIBS)
8 +  list(APPEND ADDITIONAL_LIBS Polly)
9 +endif()
10 +
11  add_llvm_library(${TARGET_NAME} SHARED
12    ${TARGET_INCLUDE_FILES}
13    ${TARGET_SOURCE_FILES}
This page took 0.075331 seconds and 4 git commands to generate.