Skip to content
Snippets Groups Projects
Unverified Commit 6977d933 authored by Peter Scheibel's avatar Peter Scheibel Committed by GitHub
Browse files

buildcache install: generate modules (#9509)

Spack packages installed using spack buildcache were not running
post-install hooks, which create module files and manage licenses
(if necessary).

This was already occurring for Spack packages installed with
spack install --use-cache
parent b0430457
No related branches found
No related tags found
No related merge requests found
......@@ -254,6 +254,7 @@ def install_tarball(spec, args):
tty.msg('Installing buildcache for spec %s' % spec.format())
bindist.extract_tarball(spec, tarball, args.allow_root,
args.unsigned, args.force)
spack.hooks.post_install(spec)
spack.store.store.reindex()
else:
tty.die('Download of binary cache file for spec %s failed.' %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment