Skip to content
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

Fix base and compiler options not reconfigurable. #12922

Merged
merged 4 commits into from
Mar 1, 2024

Conversation

bruchar1
Copy link
Member

@bruchar1 bruchar1 commented Feb 28, 2024

Fixes #12920.

Note: #12923 is still an issue, i.e. when no languages are setup.

@bruchar1 bruchar1 force-pushed the fix-configure-core-options branch 6 times, most recently from 5b44459 to edc41ba Compare February 28, 2024 18:38
@bruchar1 bruchar1 marked this pull request as ready for review February 28, 2024 18:39
@bruchar1 bruchar1 added the options Meson configuration options label Feb 28, 2024
mesonbuild/coredata.py Outdated Show resolved Hide resolved
mesonbuild/coredata.py Outdated Show resolved Hide resolved
bruchar1 added 2 commits March 1, 2024 13:12
For instance, on Windows, if the terminal is in cp65001, the subprocess
output is not encoded correctly and it results in error when running
unit test.
@bruchar1 bruchar1 force-pushed the fix-configure-core-options branch from edc41ba to ab331df Compare March 1, 2024 18:13
@bruchar1 bruchar1 force-pushed the fix-configure-core-options branch from ab331df to f10728b Compare March 1, 2024 18:37
@bruchar1 bruchar1 force-pushed the fix-configure-core-options branch from f10728b to c2fb47a Compare March 1, 2024 18:58
@dcbaker dcbaker merged commit cc4cfbc into mesonbuild:master Mar 1, 2024
35 checks passed
@@ -974,6 +974,8 @@ def set_options(self, options: T.Dict[OptionKey, T.Any], subproject: str = '', f
return dirty

def set_default_options(self, default_options: T.MutableMapping[OptionKey, str], subproject: str, env: 'Environment') -> None:
from .compilers import base_options
Copy link
Member

Choose a reason for hiding this comment

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

@bruchar1 this commit broke subprojects for me:

subprojects/mysubproj/meson.build:1:0: ERROR: In subproject mysubproj: Unknown options: "mysubproj:b_ndebug"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
options Meson configuration options
Projects
None yet
Development

Successfully merging this pull request may close these issues.

meson setup --reconfigure handling of builtin options is broken in git master
3 participants