llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][NATIVECPU] Allow building Native CPU with shared libraries

Open PietroGhg opened this issue 1 year ago • 0 comments

Currently building Native CPU with shared libraries enabled leads to a CMake error when configuring: some components of the oneAPI Construction Kit depend on LLVMPasses, and since they are also added as link_libraries to SYCLLowerIR (which LLVMPasses depends on), that creates a circular dependency that is not allowed when building with shared libraries enabled. This PR addresses this by moving all the Native CPU components to a new folder (SYCLNativeCPUUtils), that is not linked to LLVMPasses, thus breaking the circular dependencies.

PietroGhg avatar May 20 '24 12:05 PietroGhg