Skip to content

Commit

Permalink
attempt rpath
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Nov 7, 2023
1 parent c945965 commit 50ecc21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/installable/archives.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def stage(self, staging: StagingDir) -> None:
if self.strip:
self.install_context.strip_exes(staging, self.strip)

self.install_context.run_script(staging, self.s3_path, self.after_stage_script)
self.install_context.run_script(staging, staging.path, self.after_stage_script)

def verify(self) -> bool:
if not super().verify():
Expand Down
4 changes: 4 additions & 0 deletions bin/yaml/tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ tools:
type: s3tarballs
compression: xz
check_exe: bin/heaptrack --help
depends:
- tools/patchelf 0.15.0
targets:
- v1.3.0
after_stage_script:
- /opt/compiler-explorer/patchelf-0.15.0/bin/patchelf --force-rpath --set-rpath /opt/compiler-explorer/heaptrack-{name}/lib /opt/compiler-explorer/heaptrack-{name}/bin/heaptrack_print
pvs-studio:
if:
- non-free
Expand Down

0 comments on commit 50ecc21

Please sign in to comment.