spack/lib/spack
Massimiliano Culpo 9443e31b1e
Do not initialize previous store state in "use_store" (#45268)
The "use_store" context manager is used to swap the value
of a global variable (spack.store.STORE), while keeping
another global variable consistent (spack.config.CONFIG).

When doing that it tries to evaluate the previous value
of the store, if that was not done already. This is wrong,
since the configuration might be in an "intermediate" state
that was never meant to trigger side effects.

Remove that operation, and add a unit test to
prevent regressions.
2024-07-18 07:18:14 +02:00
..
docs Buildcache: remove deprecated --allow-root and preview subcommand (#45204) 2024-07-11 18:19:04 -07:00
env ldflags=* are compiler flags, not linker flags (#43820) 2024-04-26 09:19:03 +02:00
external Update vendored archspec to v0.2.4 (#44005) 2024-05-06 10:20:56 +02:00
llnl Fix bug in logfile parsing (#42706) 2024-06-27 07:07:30 -06:00
spack Do not initialize previous store state in "use_store" (#45268) 2024-07-18 07:18:14 +02:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00