diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-11-09 01:25:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 16:25:02 -0800 |
commit | c6997e11a74e5dedbeabf93ea1df3f8d2a4601e8 (patch) | |
tree | de44a14307d59b61aaabb5bddad0417040768188 /SECURITY.md | |
parent | 4322cf56b15a0a088156f5702d44a04e8238b4b3 (diff) | |
download | spack-c6997e11a74e5dedbeabf93ea1df3f8d2a4601e8.tar.gz spack-c6997e11a74e5dedbeabf93ea1df3f8d2a4601e8.tar.bz2 spack-c6997e11a74e5dedbeabf93ea1df3f8d2a4601e8.tar.xz spack-c6997e11a74e5dedbeabf93ea1df3f8d2a4601e8.zip |
`spack.compiler`/`spack.util.libc`: add caching (#47213)
* spack.compiler: cache output
* compute libc from the dynamic linker at most once per spack process
* wrap compiler cache entry in class, add type hints
* test compiler caching
* ensure tests do not populate user cache, and fix 2 tests
* avoid recursion: cache lookup -> compute key -> cflags -> real_version -> cache lookup
* allow compiler execution in test that depends on get_real_version
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions