spack/lib/spack
Massimiliano Culpo 2008503a1f Fix compiler removal from command line (#38057)
* Improve lib/spack/spack/test/cmd/compiler.py

* Use "tmp_path" in the "mock_executable" fixture

* Return a pathlib.Path from mock_executable

* Fix mock_executable fixture on Windows

"mock_gcc" was very similar to mock_executable, so use the latter to reduce code duplication

* Remove wrong compiler cache, fix compiler removal

fixes #37996

_CACHE_CONFIG_FILES was both unneeded and wrong, if called
subsequently with different scopes.

Here we remove that cache, and we fix an issue with compiler
removal triggered by having the same compiler spec in multiple
scopes.
2023-07-07 12:08:59 +02:00
..
docs containers: don't install epel-release on Fedora (#37766) 2023-07-07 12:08:59 +02:00
env cc: deal with -Wl,-rpath= without value, deal with NAG (#37215) 2023-05-05 12:16:31 +02:00
external archspec: fix entry in the JSON file (#37793) 2023-07-07 12:08:59 +02:00
llnl Add llnl.util.filesystem.find_first (#36083) 2023-03-27 09:42:16 -07:00
spack Fix compiler removal from command line (#38057) 2023-07-07 12:08:59 +02:00
spack_installable license year bump (#34921) 2023-01-18 14:30:17 -08:00