Skip to content

Conversation

@kswiecicki
Copy link
Contributor

@kswiecicki kswiecicki commented Nov 12, 2025

Added UR_FORCE_FETCH_LEVEL_ZERO and corresponding
SYCL_UR_FORCE_FETCH_LEVEL_ZERO CMake options that force Level Zero
loader fetching even if a preinstalled one is found on the platform.
This fixes undefined reference errors in the ABI-compatibility testing
jobs.

@kswiecicki kswiecicki force-pushed the ur-ci-re-enable-abi-testing branch from 347af19 to 603305d Compare November 12, 2025 15:48
@kswiecicki kswiecicki force-pushed the ur-ci-re-enable-abi-testing branch 2 times, most recently from 0a377bc to 104b013 Compare November 13, 2025 10:52
@kswiecicki kswiecicki force-pushed the ur-ci-re-enable-abi-testing branch from 104b013 to 7b10632 Compare November 14, 2025 11:29
Added UR_FORCE_FETCH_LEVEL_ZERO and corresponding
SYCL_UR_FORCE_FETCH_LEVEL_ZERO CMake options that force Level Zero
loader fetching even if a preinstalled one is found on the platform.
This fixes undefined reference errors in the ABI-compatibility testing
jobs.
@kswiecicki kswiecicki force-pushed the ur-ci-re-enable-abi-testing branch from 7b10632 to 217c57f Compare November 17, 2025 14:04
@kswiecicki kswiecicki changed the title [CI] Re-enable ABI-compatibility testing in pre-commit [SYCL][CI] Fix ABI-compatibility testing in pre-commit Nov 17, 2025
@kswiecicki kswiecicki marked this pull request as ready for review November 17, 2025 14:05
@kswiecicki kswiecicki requested review from a team as code owners November 17, 2025 14:05
@kswiecicki
Copy link
Contributor Author

This is a fix for: #20537 (comment).
I've temporarily enabled the ABI testing jobs to see if the solution works: https://github.com/intel/llvm/actions/runs/19363228088/job/55401127202.
When it's time to enable those jobs again, removing skip_run: true should be enough.

@kswiecicki
Copy link
Contributor Author

The question is whether we would like to fetch L0 loader on all jobs running sycl-linux-build.yml‎ or should I specialize it for the just the ABI testing jobs?

Comment on lines +17 to +18
pkg_check_modules(level-zero level-zero>=1.26.0)
if(level-zero_FOUND)
Copy link
Contributor

Choose a reason for hiding this comment

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

I know almost nothing about this, but why wasn't the version check enough?

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.

3 participants