Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

This is a cherry-pick of #17690


CMake has a notion of scopes for variables and we fell into a pitfall of setting local variables instead of applying changes globally to the whole project.

For reference, see:

CMake has a notion of scopes for variables and we fell into a pitfall of
setting local variables instead of applying changes globally to the
whole project.

For reference, see:
- https://cmake.org/cmake/help/v3.20/command/set.html
- https://cmake.org/cmake/help/v3.20/command/include.html
@AlexeySachkov
Copy link
Contributor Author

Pre-commit on 6.1 is still heavily unstable and we don't have builds with those flags there anyways, so I will proceed with merge. The upcoming nightly on the 6.1 branch will have those flags set though, so we will test the patch there

@AlexeySachkov AlexeySachkov merged commit 4cc32e6 into intel:sycl-rel-6_1_0 Apr 2, 2025
5 of 16 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/fix-applying-hardening-flags branch April 2, 2025 09:31
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