pocl/link_against_libclang-cpp_so.patch
Martin Hauke 79574b5fae Accepting request 817133 from home:sndirsch:branches:science
- Update to version 1.5
  * Added support for LLVM/Clang 10.0 
- adjusted link_against_libclang-cpp_so.patch
- move pocl.icd from /usr/etc/OpenCL/vendors to 
  /usr/share/OpenCL/vendors (boo#1173005)

OBS-URL: https://build.opensuse.org/request/show/817133
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=53
2020-06-26 08:14:51 +00:00

13 lines
601 B
Diff

diff -u -r pocl-1.5.orig/cmake/LLVM.cmake pocl-1.5/cmake/LLVM.cmake
--- pocl-1.5.orig/cmake/LLVM.cmake 2020-06-25 12:22:37.500539000 +0200
+++ pocl-1.5/cmake/LLVM.cmake 2020-06-25 12:23:23.091551000 +0200
@@ -219,7 +219,7 @@
string(REGEX REPLACE "-W[^ ]*" "" LLVM_CXXFLAGS "${LLVM_CXXFLAGS}")
# Llvm-config does not include clang libs
-if((9 LESS LLVM_MAJOR) AND (LLVM_LIB_IS_SHARED MATCHES "shared"))
+if((8 LESS LLVM_MAJOR) AND (LLVM_LIB_IS_SHARED MATCHES "shared"))
# Link against a single shared library instead of multiple component shared
# libraries.
set(CLANG_LIBNAMES clang-cpp)