diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-01-16 13:37:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 13:37:25 +0100 |
commit | bc9b39cb73a83219306e67191b560412155200d5 (patch) | |
tree | 001e8e3c4ef2da74f73f645801ab9336ce854ced /.github | |
parent | f0c69ff3bfbb0edcc22e7058091d529b979cef75 (diff) | |
download | spack-bc9b39cb73a83219306e67191b560412155200d5.tar.gz spack-bc9b39cb73a83219306e67191b560412155200d5.tar.bz2 spack-bc9b39cb73a83219306e67191b560412155200d5.tar.xz spack-bc9b39cb73a83219306e67191b560412155200d5.zip |
r: improve relocatability (#42030)
R embeds an absolute path to the `which` executable in the sources for
`Sys.which`. This gets ultimately stored as serialized byte code in some
custom database format, which uses compression for entries.
As a result, Spack cannot relocate `<prefix which>/bin/which` when
installing from a build cache.
The patch works around this by making R create a symlink to `which` in
its own prefix, have the R sources call that, so that relocation works
again.
See https://github.com/r-devel/r-svn/pull/151
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions