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
This commit is contained in:
parent
b0430457aa
commit
6977d933c8
1 changed files with 1 additions and 0 deletions
|
@ -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.' %
|
||||
|
|
Loading…
Reference in a new issue