From 6977d933c860dc0168428d8b8127af6fc3f59ffd Mon Sep 17 00:00:00 2001 From: Peter Scheibel Date: Fri, 12 Oct 2018 10:43:06 -0700 Subject: 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 --- lib/spack/spack/cmd/buildcache.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py index a8ee3ae581..da2c35ec2f 100644 --- a/lib/spack/spack/cmd/buildcache.py +++ b/lib/spack/spack/cmd/buildcache.py @@ -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.' % -- cgit v1.2.3-60-g2f50