Replace expensive store.reindex() call with db.add() call. (#13021)
This commit is contained in:
parent
bec2830802
commit
2a739ed03e
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ def install_tarball(spec, args):
|
|||
bindist.extract_tarball(spec, tarball, args.allow_root,
|
||||
args.unsigned, args.force)
|
||||
spack.hooks.post_install(spec)
|
||||
spack.store.store.reindex()
|
||||
spack.store.db.add(spec, spack.store.layout)
|
||||
else:
|
||||
tty.die('Download of binary cache file for spec %s failed.' %
|
||||
spec.format())
|
||||
|
|
Loading…
Reference in a new issue