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:
		| @@ -254,6 +254,7 @@ def install_tarball(spec, args): | |||||||
|             tty.msg('Installing buildcache for spec %s' % spec.format()) |             tty.msg('Installing buildcache for spec %s' % spec.format()) | ||||||
|             bindist.extract_tarball(spec, tarball, args.allow_root, |             bindist.extract_tarball(spec, tarball, args.allow_root, | ||||||
|                                     args.unsigned, args.force) |                                     args.unsigned, args.force) | ||||||
|  |             spack.hooks.post_install(spec) | ||||||
|             spack.store.store.reindex() |             spack.store.store.reindex() | ||||||
|         else: |         else: | ||||||
|             tty.die('Download of binary cache file for spec %s failed.' % |             tty.die('Download of binary cache file for spec %s failed.' % | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Peter Scheibel
					Peter Scheibel