[Bf-blender-cvs] [8e03df9bbc2] master: Fix oneAPI compilation on modern Linux and CentOS 7 libraries

Sergey Sharybin noreply at git.blender.org
Tue Sep 13 10:56:15 CEST 2022


Commit: 8e03df9bbc22baaf9d538e01c44f6857a8c9b43a
Author: Sergey Sharybin
Date:   Tue Sep 13 10:55:36 2022 +0200
Branches: master
https://developer.blender.org/rB8e03df9bbc22baaf9d538e01c44f6857a8c9b43a

Fix oneAPI compilation on modern Linux and CentOS 7 libraries

===================================================================

M	intern/cycles/kernel/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt
index 6d84357b699..aa31335393f 100644
--- a/intern/cycles/kernel/CMakeLists.txt
+++ b/intern/cycles/kernel/CMakeLists.txt
@@ -793,7 +793,7 @@ if(WITH_CYCLES_DEVICE_ONEAPI)
   if(UNIX AND NOT APPLE)
     if(NOT WITH_CXX11_ABI)
       check_library_exists(sycl
-        _ZN2cl4sycl7handler22verifyUsedKernelBundleERKSs ${sycl_compiler_root}/../lib SYCL_NO_CXX11_ABI)
+        _ZN4sycl3_V17handler22verifyUsedKernelBundleERKSs ${sycl_compiler_root}/../lib SYCL_NO_CXX11_ABI)
       if(SYCL_NO_CXX11_ABI)
         list(APPEND sycl_compiler_flags -D_GLIBCXX_USE_CXX11_ABI=0)
       endif()



More information about the Bf-blender-cvs mailing list