diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-01-24 18:45:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 09:45:58 -0800 |
commit | 54aebbb58746d68477f46c93ead23b029d162f75 (patch) | |
tree | 61badf094967a81c4e5c4c52c5691b350e183223 /.flake8 | |
parent | e46f3803adbcbe64301e8340e4cb584c29da7a9b (diff) | |
download | spack-54aebbb58746d68477f46c93ead23b029d162f75.tar.gz spack-54aebbb58746d68477f46c93ead23b029d162f75.tar.bz2 spack-54aebbb58746d68477f46c93ead23b029d162f75.tar.xz spack-54aebbb58746d68477f46c93ead23b029d162f75.zip |
generate modules of non-roots during spack install of env (#42147)
Fixes a bug where Spack did not generate module files of non-roots during
spack install with an active environment.
The reason being that Environment.new_installs only contained roots.
This PR:
Drops special casing of automatic module generation in post-install hooks
When `use_view`, compute environment variable modifications like always, and
applies a view projection to them afterwards, like we do for spack env activate.
This ensures we don't have to delay module generation until after the view is
created.
Fixes another bug in use_view where prefixes of dependencies would not be
projected -- previously Spack would only temporarily set the current spec's prefix.
Removes the one and only use of the post_env_write hook (but doesn't drop it to
make this backportable w/o changes)
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions