Skip to content

Conversation

hvdijk
Copy link
Contributor

@hvdijk hvdijk commented Sep 15, 2025

  • SYCLNativeCPUUtils/CMakeLists.txt: remove EXCLUDE_FROM_ALL. The rationale for setting EXCLUDE_FROM_ALL was to ensure that users do not get the veczc binary unnecessarily but that is already handled differently now that we no longer fetch external sources, and EXCLUDE_FROM_ALL had the side effect of preventing component libraries from being installed.
  • vecz/tools/CMakeLists.txt: change veczc from tool to utility. The difference is that tools get installed, utilities by default don't, and this is not something that is meant to be installed.
  • lib/CMakeLists.txt: change include order. SYCLNativeCPUUtils needs to be included after TargetParser so that veczc correctly links to it.

Fixes #20077

* SYCLNativeCPUUtils/CMakeLists.txt: remove EXCLUDE_FROM_ALL. The
  rationale for setting EXCLUDE_FROM_ALL was to ensure that users do not
  get the veczc binary unnecessarily but that is already handled
  differently now that we no longer fetch external sources, and
  EXCLUDE_FROM_ALL had the side effect of preventing component libraries
  from being installed.
* vecz/tools/CMakeLists.txt: change veczc from tool to utility. The
  difference is that tools get installed, utilities by default don't,
  and this is not something that is meant to be installed.
* lib/CMakeLists.txt: change include order. SYCLNativeCPUUtils needs to
  be included after TargetParser so that veczc correctly links to it.

Fixes intel#20077
@hvdijk hvdijk requested review from a team as code owners September 15, 2025 11:06
Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems sane to me, falling back to nativecpu review for in depth review

@hvdijk
Copy link
Contributor Author

hvdijk commented Sep 15, 2025

Thanks, in that case this is ready to be merged @intel/llvm-gatekeepers

@sarnex sarnex merged commit d4f5ac2 into intel:sycl Sep 15, 2025
28 checks passed
@hvdijk hvdijk deleted the more-shared-libs-fixes branch September 15, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SYCL][NativeCpu] libLLVMNativeCPU* shared object files not copied to install dir

3 participants