Skip to content

[5.9][CMake] Allow install_name_tool to edit pure swift library load paths #66386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Jun 6, 2023

  • Explanation: install_name_tool is able to update install names as long as there's enough room. That sometimes happens to be the case (if eg. your path ends up being smaller/a similar size), but not always. Allow the maximum length so they can be updated to longer paths.
  • Scope: Build
  • Risk: Very low - sets -headerpad_max_install_names when linking Swift libraries. Either this links or doesn't.
  • Testing: Builds and runs
  • Original PR: [CMake] Allow install_name_tool to edit pure swift library load paths #66385

@bnbarham bnbarham requested a review from a team as a code owner June 6, 2023 21:25
@bnbarham bnbarham added swift 5.9 🍒 release cherry pick Flag: Release branch cherry picks labels Jun 6, 2023
@bnbarham
Copy link
Contributor Author

bnbarham commented Jun 6, 2023

@swift-ci please test

@bnbarham bnbarham merged commit 8ea75cc into swiftlang:release/5.9 Jun 7, 2023
@bnbarham bnbarham deleted the cherry-pad-install-name branch June 7, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants