-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Create symlinks for swift-frontend
only once
#61768
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
base: main
Are you sure you want to change the base?
Create symlinks for swift-frontend
only once
#61768
Conversation
To achieve to, rely solely on `add_swift_tool_symlink` and remove usages of `swift_install_in_component`. This follows the intent of swiftlang#6053. Supports rdar://101396797
@swift-ci please smoke test |
@swift-ci please build toolchain |
I verified at desk that the generated |
@swift-ci please build toolchain Windows |
Hitting the following error in the testing of the Windows toolchain -- this seems unrelated to these changes, since it happens with other PRs (e.g. #37710)
|
Checked that the generated toolchains still have the symlinks
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still install the symbolic links when we now do a ninja install-distribution
?
COMPONENT compiler) | ||
swift_install_in_component(FILES "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swift-api-digester${CMAKE_EXECUTABLE_SUFFIX}" | ||
DESTINATION "bin" | ||
COMPONENT compiler) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, why were these duplicated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To achieve to, rely solely on
add_swift_tool_symlink
andremove usages of
swift_install_in_component
.This follows the intent of #6053.
Addresses rdar://101755409, supports rdar://101396797