Skip to content

Fix runtime default variable naming #79405

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
Feb 18, 2025

Conversation

etcwilde
Copy link
Member

The names of the variables in DefaultSettings should end in _default so that the variable that they are defaulting can be overridden. Otherwise CMake will just set the value and move on overriding the setting coming from the commandline/cache file.

@etcwilde
Copy link
Member Author

@swift-ci please smoke test

@etcwilde etcwilde force-pushed the ewilde/fix-runtime-defaults branch from e98ea05 to e0ded0a Compare February 17, 2025 18:43
@etcwilde
Copy link
Member Author

@swift-ci please smoke test

The names of the variables in `DefaultSettings` should end in `_default`
so that the variable that they are defaulting can be overridden.
Otherwise CMake will just set the value and move on overriding the
setting coming from the commandline/cache file.
@etcwilde etcwilde force-pushed the ewilde/fix-runtime-defaults branch from e0ded0a to 8fe9c09 Compare February 17, 2025 18:44
@etcwilde
Copy link
Member Author

@swift-ci please smoke test

@etcwilde etcwilde merged commit 30068c8 into swiftlang:main Feb 18, 2025
3 checks passed
@etcwilde etcwilde deleted the ewilde/fix-runtime-defaults branch February 18, 2025 05:06
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