Skip to content

[UR] Use pre-installed compute-runtime L0 headers if found #18276

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Apr 30, 2025

I'm trying to make dpcpp more friendly to packaging by Linux distros, and we should be using system-installed dependencies by default.

Find the system-installed compute-runtime headers and use them if they exist instead of downloading the upstream repo.

Also fix an include that doesn't work with system headers.

@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 21:30 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 21:45 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 21:57 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 21:57 — with GitHub Actions Inactive
@sarnex sarnex marked this pull request as ready for review May 1, 2025 14:11
@sarnex sarnex requested review from a team as code owners May 1, 2025 14:11
@sarnex
Copy link
Contributor Author

sarnex commented May 2, 2025

Ping @intel/unified-runtime-reviewers-level-zero, thanks!

@sarnex
Copy link
Contributor Author

sarnex commented May 5, 2025

Ping @intel/unified-runtime-reviewers-level-zero @nrspruit @pbalcer @igchor @mateuszpn, should be a very easy review, thanks!

@sarnex
Copy link
Contributor Author

sarnex commented May 5, 2025

Thanks Piotr!

@sarnex sarnex merged commit 557b36a into intel:sycl May 5, 2025
34 checks passed
sarnex added a commit to sarnex/llvm that referenced this pull request Jun 25, 2025
I'm trying to make dpcpp more friendly to packaging by Linux distros,
and we should be using system-installed dependencies by default.

Find the system-installed compute-runtime headers and use them if they
exist instead of downloading the upstream repo.

Also fix an include that doesn't work with system headers.

Signed-off-by: Sarnie, Nick <[email protected]>
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