summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorStephen Sachs <stephenmsachs@gmail.com>2022-10-19 17:37:07 +0200
committerGitHub <noreply@github.com>2022-10-19 17:37:07 +0200
commit25cbb34579bacc704c7f17f691cb36bf8f08b17b (patch)
tree6e18f4df6166b1f3084b43fed03436310c52c5c7 /share
parenta423dc646ac932d3d5bfe79c53a1e934bf36227c (diff)
downloadspack-25cbb34579bacc704c7f17f691cb36bf8f08b17b.tar.gz
spack-25cbb34579bacc704c7f17f691cb36bf8f08b17b.tar.bz2
spack-25cbb34579bacc704c7f17f691cb36bf8f08b17b.tar.xz
spack-25cbb34579bacc704c7f17f691cb36bf8f08b17b.zip
Relocate "run" type dependencies too (#33191)
When downloading from binary cache not only replace RPATHs to dependencies, but also text references to dependencies. Example: `autoconf@2.69` contains a text reference to the executable of its dependency `perl`: ``` $ grep perl-5 /shared/spack/opt/spack/linux-amzn2-x86_64_v3/gcc-7.3.1/autoconf-2.69-q3lo/bin/autoreconf eval 'case $# in 0) exec /shared/spack/opt/spack/linux-amzn2-x86_64_v3/gcc-7.3.1/perl-5.34.1-yphg/bin/perl -S "$0";; *) exec /shared/spack/opt/spack/linux-amzn2-x86_64_v3/gcc-7.3.1/perl-5.34.1-yphg/bin/perl -S "$0" "$@";; esac' ``` These references need to be replace or any package using `autoreconf` will fail as it cannot find the installed `perl`. Co-authored-by: Stephen Sachs <stesachs@amazon.com>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions