SHA256
1
0
forked from pool/pocl
pocl/link_against_libclang-cpp_so.patch
Dirk Stoecker d7b34331e9 Accepting request 858637 from home:mnhauke:opencl:stable
- Update to version 1.6
  * Support for LLVM 11.
  * CUDA kernels using constant __local blocks are now ABI
    incompatible with previous release. Users need to delete their
    pocl cache.
  * Improved debugging of OpenCL code with CPU driver.
  * Improved the PTX code generation for __local blocks.
  * Improved handling of command queue barriers
  * Fix LLVM loop vectorizing remarks printing
    (POCL_VECTORIZER_REMARKS=1).
  * Fix an issue in which the loop vectorizer produced code with
    invalid memory reads (issue #757).
  * Fix compilation error when CMake option SINGLE_LLVM_LIB is
    set to OFF.
  * Fix wrongly output dlerror (Undefined symbol) after dlopen,
    caused by a previous libdl call in an ICD loader
  * [CPU] safety margin of pocl's CPU driver local memory
    allocation has been reduced to a much more reasonable value
  * [CPU] buffer size for OpenCL printf is now configurable with
    PRINTF_BUFFER_SIZE CMake variable
  * [CPU] local memory size reported is now the size of last level
    of non-shared data cache (usually L1 or L2 depending on CPU),
    if hwloc can determine it.
- Update patch link_against_libclang-cpp_so.patch

OBS-URL: https://build.opensuse.org/request/show/858637
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=58
2021-01-08 08:51:46 +00:00

14 lines
553 B
Diff

diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake
index 2827d64..e186bc1 100644
--- a/cmake/LLVM.cmake
+++ b/cmake/LLVM.cmake
@@ -239,7 +239,7 @@ string(STRIP "${LLVM_SYSLIBS}" LLVM_SYSLIBS)
####################################################################
# llvm-config does not include clang libs
-if((9 LESS LLVM_MAJOR) AND (NOT STATIC_LLVM))
+if((8 LESS LLVM_MAJOR) AND (NOT STATIC_LLVM))
# For Clang 10+, link against a single shared library instead of multiple component shared
# libraries.
if("${LLVM_LIBNAMES}" MATCHES "LLVMTCE")