diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-07-15 14:10:31 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2023-03-16 17:18:30 -0400 |
commit | adb619db6110d14e8f56366dbc2ce271abc4558c (patch) | |
tree | 6be4f4c5658b5d3b53713e9bace0ff82f418e044 /mesonbuild/backend/backends.py | |
parent | e0792f48197ff03dab4692e22bd2b13552c53823 (diff) | |
download | meson-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