Make Spack relocate text files in build caches with relative binaries
This commit is contained in:
parent
03a53dca5f
commit
8554e933d2
@ -396,8 +396,6 @@ def relocate_package(workdir, allow_root):
|
|||||||
new_path = spack.store.layout.root
|
new_path = spack.store.layout.root
|
||||||
old_path = buildinfo['buildpath']
|
old_path = buildinfo['buildpath']
|
||||||
rel = buildinfo.get('relative_rpaths', False)
|
rel = buildinfo.get('relative_rpaths', False)
|
||||||
if rel:
|
|
||||||
return
|
|
||||||
|
|
||||||
tty.msg("Relocating package from",
|
tty.msg("Relocating package from",
|
||||||
"%s to %s." % (old_path, new_path))
|
"%s to %s." % (old_path, new_path))
|
||||||
|
Loading…
Reference in New Issue
Block a user