Skip to content

Conversation

@giordano
Copy link
Member

Downstream packagers like Spack may prefer using --add-rpath over --set-rpath and they carry patches that need to be updated for all new versions, which makes maintenance hard. With this new variable we make it easier to choose a different patchelf command without having to patch Julia's build system. CC: @haampie.

I wish this to be backported to v1.9, to make packaging of the upcoming version easier. This patch only affects the build system and retains the current behaviour by default, so it should hopefully be very low-risk.

@giordano giordano added building Build system, or building Julia or its dependencies backport 1.9 Change should be backported to release-1.9 labels Feb 25, 2023
@giordano giordano changed the title [Make.inf] Define new variable PATCHELF_SET_RPATH [Make.inc] Define new variable PATCHELF_SET_RPATH Feb 25, 2023
@giordano giordano changed the title [Make.inc] Define new variable PATCHELF_SET_RPATH [Make.inc] Define new variable PATCHELF_SET_RPATH_ARG Feb 25, 2023
@staticfloat staticfloat added the merge me PR is reviewed. Merge when all tests are passing label Feb 25, 2023
@staticfloat staticfloat merged commit 0b8e8fc into JuliaLang:master Feb 25, 2023
@giordano giordano deleted the mg/patchelf-rpath branch February 25, 2023 23:05
@IanButterworth IanButterworth removed the merge me PR is reviewed. Merge when all tests are passing label Feb 28, 2023
@KristofferC KristofferC mentioned this pull request Mar 3, 2023
50 tasks
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

building Build system, or building Julia or its dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants