Skip to content

Backport packaging improvements to 6.2 #19152

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 10 commits into from
Jun 26, 2025
Merged

Backport packaging improvements to 6.2 #19152

merged 10 commits into from
Jun 26, 2025

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Jun 25, 2025

We want the next release to have these packaging improvements.

Nightly run here.

sarnex and others added 10 commits June 25, 2025 07:41
For all external dependencies, we should try using the system installed
one first and only download the repo if we can't find it.

Apply that for vc-intrinics first, I manually tested this with both
static and shared library builds.

---------

Signed-off-by: Sarnie, Nick <[email protected]>
…se (#17922)

After this change, you can use `-DUR_COMPUTE_RUNTIME_FETCH_REPO=OFF
-DUR_COMPUTE_RUNTIME_REPO=<path_to_l0_repo>` to disable fetching the
compute runtime repo for L0 include headers and ask cmake to use a local
compute runtime repo instead.
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]>
Two problems:
1) The option was renamed to `--gcc-install-dir`
2) We forgot to pass the flag for the IMF build.

---------

Signed-off-by: Sarnie, Nick <[email protected]>
Fixes issue reported
[here](#18599 (comment)).

Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex
Copy link
Contributor Author

sarnex commented Jun 26, 2025

Precommit CI is known broken, and merging this as it should be NFC.

@sarnex sarnex marked this pull request as ready for review June 26, 2025 16:23
@sarnex sarnex requested review from a team as code owners June 26, 2025 16:23
@sarnex sarnex requested a review from againull June 26, 2025 16:23
@sarnex sarnex merged commit 95689c0 into sycl-rel-6_2 Jun 26, 2025
48 of 66 checks passed
@bader bader deleted the sarnex_backport branch June 27, 2025 02:45
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.

2 participants