We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7da99bb commit 6f47aa2Copy full SHA for 6f47aa2
1 file changed
lib/spack/spack/binary_distribution.py
@@ -71,7 +71,7 @@ def write_buildinfo_file(spec):
71
72
# Create buildinfo data and write it to disk
73
buildinfo = {}
74
- buildinfo['buildpath'] = spack.store.layout.path_for_spec(spec)
+ buildinfo['buildpath'] = spack.store.layout.root
75
buildinfo['relocate_textfiles'] = text_to_relocate
76
buildinfo['relocate_binaries'] = binary_to_relocate
77
filename = buildinfo_file_name(spec)
@@ -182,7 +182,7 @@ def relocate_package(package):
182
Relocate the given package
183
"""
184
buildinfo = read_buildinfo_file(package)
185
- new_path = spack.store.layout.path_for_spec(package.spec)
+ new_path = spack.store.layout.root
186
old_path = buildinfo['buildpath']
187
if old_path == new_path:
188
return True # No need to relocate
0 commit comments