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
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
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}")
|
||||
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 (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
|
||||
# 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.
|
||||
set(CLANG_LIBNAMES clang-cpp)
|
||||
if("${LLVM_LIBNAMES}" MATCHES "LLVMTCE")
|
||||
|
Reference in New Issue
Block a user