-
Notifications
You must be signed in to change notification settings - Fork 788
[SYCL][NATIVECPU] Allow building Native CPU with shared libraries #13830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not too familiar with cmake but FE change looks ok to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UR LGTM
Hi @intel/dpcpp-esimd-reviewers, could you take a look at this PR? Thanks |
@intel/dpcpp-esimd-reviewers ping |
1 similar comment
@intel/dpcpp-esimd-reviewers ping |
kindly ping @intel/dpcpp-esimd-reviewers for review |
Hi @intel/llvm-gatekeepers, this looks ready to merge, windows failure is infrastructural, see #14370 (comment) |
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 aslink_libraries
toSYCLLowerIR
(whichLLVMPasses
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 toLLVMPasses
, thus breaking the circular dependencies.