Skip to content

Enable cmake argument passthrough in the SYCL configure wrapper #17189

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
Mar 12, 2025

Conversation

ldrumm
Copy link
Contributor

@ldrumm ldrumm commented Feb 26, 2025

Hundreds of --cmake-opt=-DFOO=BAR on the command line make it hard to see the wood for the trees, so introduce an alternative which is to simply pass unknown argument flags straight through to cmake. This should make using the wrapper a little more pleasant and readable.

@ldrumm ldrumm requested a review from a team as a code owner February 26, 2025 11:45
@ldrumm ldrumm requested review from a team as code owners February 26, 2025 11:55
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.

lgtm, good idea

Copy link
Contributor

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

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

  1. Ideally, we should drop the script and use cmake caches instead. Noone has volunteered to do that so far... ;(
  2. Maybe do that for -D* only?

@ldrumm
Copy link
Contributor Author

ldrumm commented Feb 26, 2025 via email

@aelovikov-intel
Copy link
Contributor

Do what for -D only?

Passthrough.

@ldrumm
Copy link
Contributor Author

ldrumm commented Feb 26, 2025

I've already found the passthrough useful for other flags locally (e.g.) --trace so I think it's good as-is

@ldrumm
Copy link
Contributor Author

ldrumm commented Mar 11, 2025

ping @dpcpp-doc-reviewers

@ldrumm
Copy link
Contributor Author

ldrumm commented Mar 11, 2025

I can't seem to ping the docs reviewers, so (with apologies) ping @steffenlarsen

Hundreds of `--cmake-opt=-DFOO=BAR` on the command line make it hard to
see the wood for the trees, so introduce an alternative which is to
simply pass unknown argument flags straight through to cmake. This
should make using the wrapper a little more pleasant and readable.
@ldrumm
Copy link
Contributor Author

ldrumm commented Mar 12, 2025

Timeout is already tracked here

GPU crash looks unrelated; Tracked here: #17415

@ldrumm ldrumm merged commit ae76189 into intel:sycl Mar 12, 2025
24 of 25 checks passed
KornevNikita pushed a commit that referenced this pull request Mar 21, 2025
Hundreds of `--cmake-opt=-DFOO=BAR` on the command line make it hard to
see the wood for the trees, so introduce an alternative which is to
simply pass unknown argument flags straight through to cmake. This
should make using the wrapper a little more pleasant and readable.
AlexeySachkov pushed a commit that referenced this pull request Mar 31, 2025
Hundreds of `--cmake-opt=-DFOO=BAR` on the command line make it hard to
see the wood for the trees, so introduce an alternative which is to
simply pass unknown argument flags straight through to cmake. This
should make using the wrapper a little more pleasant and readable.
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.

6 participants