summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2018-11-11 17:11:33 +0000
committerTodd Gamblin <tgamblin@llnl.gov>2018-11-13 11:04:47 -0600
commit8554e933d2a236df20d07a6e0416ab444790bd3d (patch)
tree9fd6396f397c8b03bbd05e4f1521ecb85811901f
parent03a53dca5f000fa8d3c16b5211558292eedc89d7 (diff)
downloadspack-8554e933d2a236df20d07a6e0416ab444790bd3d.tar.gz
spack-8554e933d2a236df20d07a6e0416ab444790bd3d.tar.bz2
spack-8554e933d2a236df20d07a6e0416ab444790bd3d.tar.xz
spack-8554e933d2a236df20d07a6e0416ab444790bd3d.zip
Make Spack relocate text files in build caches with relative binaries
-rw-r--r--lib/spack/spack/binary_distribution.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py
index 961345884e..ced7447db6 100644
--- a/lib/spack/spack/binary_distribution.py
+++ b/lib/spack/spack/binary_distribution.py
@@ -396,8 +396,6 @@ def relocate_package(workdir, allow_root):
new_path = spack.store.layout.root
old_path = buildinfo['buildpath']
rel = buildinfo.get('relative_rpaths', False)
- if rel:
- return
tty.msg("Relocating package from",
"%s to %s." % (old_path, new_path))