-
Notifications
You must be signed in to change notification settings - Fork 755
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
Enable cmake argument passthrough in the SYCL configure wrapper #17189
base: sycl
Are you sure you want to change the base?
Conversation
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.
4c38686
to
b63439f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, good idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Ideally, we should drop the script and use cmake caches instead. Noone has volunteered to do that so far... ;(
- Maybe do that for
-D*
only?
On Wed Feb 26, 2025 at 4:56 PM GMT, aelovikov-intel wrote:
@aelovikov-intel approved this pull request.
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?
Do what for `-D` only?
|
Passthrough. |
I've already found the passthrough useful for other flags locally (e.g.) |
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.