Skip to content
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

[SR-7820] Bootstrap script is updating timestamps of libSwiftPM.dylib even if it doesn't change #4811

Open
ankitspd opened this issue May 31, 2018 · 0 comments
Labels

Comments

@ankitspd
Copy link
Member

Previous ID SR-7820
Radar rdar://problem/30824688
Original Reporter @aciidb0mb3r
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: e6dcd69fd0705dc9c40f5a2366263b58

Issue Description:

This is because the `install_name_tool` runs unconditionally. Best would be to avoid the `install_name_tool` invocation altogether unless it’s needed. This could be either by comparing the hashes of the input and output, or perhaps invoking the `install_name_tool` to print the dylib id and then only changing it if it is not what was expected. Fallback would be to do the `install_name_tool` every time but to restore the timestamp.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants