diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2023-06-08 18:38:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 09:38:20 -0700 |
commit | f29aab0d038c7ce022b9ca9508df77468dfd9d27 (patch) | |
tree | bd061552637449669b2db2c3c9372a6b6b7e4642 /bin | |
parent | cea1b3123e7b07795f1b52c9c5ef8fe09abe6fff (diff) | |
download | spack-f29aab0d038c7ce022b9ca9508df77468dfd9d27.tar.gz spack-f29aab0d038c7ce022b9ca9508df77468dfd9d27.tar.bz2 spack-f29aab0d038c7ce022b9ca9508df77468dfd9d27.tar.xz spack-f29aab0d038c7ce022b9ca9508df77468dfd9d27.zip |
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.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions