You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#14251 broke not updating the coredata file if options didn't change when running meson setup again when the same option is specified multiple times #14754
Before #14251, running the following meson command in systemd did not cause meson to reconfigure when running ninja -C build, since #14251 it does cause meson to reconfigure even if mode was already set to developer before:
meson setup -Dmode=release -Dmode=developer build
The issue is that since #14251, setting options loops over the full raw list of options, whereas before #14251, setting options looped over the deduplicated list of options, with latter options overriding previous ones. Now, mode=release is processed, and since it's not equal to developer, meson thinks the value has changed and the coredata file needs to be rewritten, even though the option is set to developer again later.
To Reproduce
Take any simple meson C project, and run the following: