Skip to content

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 <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
…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 <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
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 <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Fixes issue reported
[here](#18599 (comment)).

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@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.

3 participants