summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-04-05 04:39:30 +0200
committerGitHub <noreply@github.com>2024-04-04 20:39:30 -0600
commit1d8b35c84074a846f8f48c59e6379b386b91b944 (patch)
treee3a20c34546acfe5d5013ecf25b847c88e507ffd /var
parent5dc46a976db0c319931071dcd402803b6b3f9c7e (diff)
downloadspack-1d8b35c84074a846f8f48c59e6379b386b91b944.tar.gz
spack-1d8b35c84074a846f8f48c59e6379b386b91b944.tar.bz2
spack-1d8b35c84074a846f8f48c59e6379b386b91b944.tar.xz
spack-1d8b35c84074a846f8f48c59e6379b386b91b944.zip
installer.py: compute package_id from spec (#43485)
The installer runs `get_dependent_ids`, which follows edges outside the subdag that's being installed, so it returns a superset of the actual dependents. That's generally fine, except that it calls `s.package` on every dependent, which triggers a package class to be instantiated, which is a lot of work. Instead, compute the package id from the spec, since that's all that's used anyways and does not trigger *lots* of slow and redundant instantiations of package objects.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions