-
Notifications
You must be signed in to change notification settings - Fork 567
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
Align git-sync-deps and CMake to use external/spirv-headers by default #4963
Align git-sync-deps and CMake to use external/spirv-headers by default #4963
Conversation
Not against changing the order, but what about just not looking for |
That works for me and is cleaner. I kept it as I assumed it was used by someone (the CI at least :)).
I would advise against renaming that variable. I know of several projects that make use of it. |
@dneto0 do you know if that's still used? |
Taking a step back I'm wondering whether it would make sense to align everything on |
If that's not by design, I would also be in favor of keeping SPIRV-Headers |
Alright, I'll do that then. |
051a7a0
to
49a8d2a
Compare
Thanks! You'll have to fix the CI scripts too (some don't use the DEPS file), like |
Sorry for the very late reply. That's used by shaderc and amber. I think vkb does it too (but vkb is dormant). All this was made when CMake was at version 2.8.12. There may be better mechanisms now. But also people have strong preferences for naming directories lower-case. That's the case for Chromium IIRC. |
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.
This is not the direction we want to go. We discussed internally, and we should change the CMAKE file to only look for spirv-header
, to match the existing git-sync-deps.
This should help with avoiding mistakes such as the one that happened under KhronosGroup#4958. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I922f02e25c507f3412e0e7a99f525fb617b2d426
49a8d2a
to
e1bdc4d
Compare
The smoke test failures are not related to this change. |
Align git-sync-deps and CMake to use external/SPIRV-Headers by default
This should help with avoiding mistakes such as the one that happened under #4958.
Signed-off-by: Kevin Petit kevin.petit@arm.com
Change-Id: I922f02e25c507f3412e0e7a99f525fb617b2d426