summaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2022-04-11 03:31:24 -0400
committerGitHub <noreply@github.com>2022-04-11 09:31:24 +0200
commit1ea05cd456a773be4f46a5ef535893ab106b2d8b (patch)
tree2be264ad0f514688ca01f22bc20ee53b1d95d11c /COPYRIGHT
parent65763d18fb28f724d12779b1349141efef4b46fa (diff)
downloadspack-1ea05cd456a773be4f46a5ef535893ab106b2d8b.tar.gz
spack-1ea05cd456a773be4f46a5ef535893ab106b2d8b.tar.bz2
spack-1ea05cd456a773be4f46a5ef535893ab106b2d8b.tar.xz
spack-1ea05cd456a773be4f46a5ef535893ab106b2d8b.zip
macos: fewer calls to sw_vers (#29997)
In a typical call to spack, the OperatingSystem gets instantiated multiple times. For macOS, each one requires a call to `sw_vers`, which is done through the Executable helper class. Memoizing reduces the call count from "spac spec" from three to one.
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions