diff options
author | Patrick Gartung <gartung@fnal.gov> | 2019-03-01 07:47:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 07:47:26 -0600 |
commit | 1d4289afdd695f8d6f01df83d86d4975fe0ffa26 (patch) | |
tree | 64af35149d30753dc2fb7e6eaf36b6ccee0ecb3f /.codecov.yml | |
parent | 433cc4a972ccb9ccbb21d640af05979e74f44130 (diff) | |
download | spack-1d4289afdd695f8d6f01df83d86d4975fe0ffa26.tar.gz spack-1d4289afdd695f8d6f01df83d86d4975fe0ffa26.tar.bz2 spack-1d4289afdd695f8d6f01df83d86d4975fe0ffa26.tar.xz spack-1d4289afdd695f8d6f01df83d86d4975fe0ffa26.zip |
This fixes a problem where the placeholder path was not in the first rpath entry.
* Rework of buildcache creation and install prefix checking using the functions introduced in
https://github.com/spack/spack/pull/9199
Instead of replacing rpaths with placeholder and then checking strings, make use of the functions
relocate.is_recocatable and relocate.is_file_relocatable to decide if a package needs the allow-root option.
This fixes a problem where the placeholder path was not in the first rpath entry. This was seen in c++ libraries and binaries because the compiler was outside the spack install base path and always appears first in the rpath.
Instead of checking the first rpath entry, all rpaths have the placeholder path and the old install path (if it exists) replaced with the new install path.
* flake8
Diffstat (limited to '.codecov.yml')
0 files changed, 0 insertions, 0 deletions