aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-07-15 14:10:31 +0200
committerXavier Claessens <xclaesse@gmail.com>2023-03-16 17:18:30 -0400
commitadb619db6110d14e8f56366dbc2ce271abc4558c (patch)
tree6be4f4c5658b5d3b53713e9bace0ff82f418e044 /mesonbuild/backend/backends.py
parente0792f48197ff03dab4692e22bd2b13552c53823 (diff)
downloadmeson-adb619db6110d14e8f56366dbc2ce271abc4558c.zip
meson-adb619db6110d14e8f56366dbc2ce271abc4558c.tar.gz
meson-adb619db6110d14e8f56366dbc2ce271abc4558c.tar.bz2
Stop using replace_if_different() for coredata pickle file
This was added in f774609 to only change the access time of the coredata file if the coredata struct actually changed. However, this doesn't work as pickle serializations aren't guaranteed to be stable. Instead, let's manually check if options have changed values and skip the save if they haven't changed. We also extend the associated unit test to cover all the option types and to ensure that configure does get executed if one of the options changes value.
Diffstat (limited to 'mesonbuild/backend/backends.py')
0 files changed, 0 insertions, 0 deletions