-
Notifications
You must be signed in to change notification settings - Fork 10.5k
build: use add_llvm_tool_symlink #6048
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
Conversation
Rather than invoke the create_symlink command manually which wont work on Windows, use the add_llvm_tool_symlink.
@swift-ci please test |
CC: @llvm-beanz |
LGTM, will cause merge conflicts with my Windows port (I won't be available to contribute until Wednesday)... up to you in deciding which order to merge |
Actually... just realised this is slightly broken - Windows files end in "exe" but this doesn't account for that? |
That existed prior to this and the |
Awesome good to know - what about other symlinks for python files and the like? Does LLVM have an equivalent |
@llvm-beanz sure, will do a follow up commit soon. |
@llvm-beanz created PR #6053 for the suggestion. @hughbe we should be able to simplify the changes that you had for Windows support now as we dont need to do all the craziness for the symlinking ourselves. |
@compnerd some of it, yes: symlinking clang header directories and swift-api-dump.py will need to be changed when @llvm-beanz adds the macro he suggested |
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.
Rather than invoke the create_symlink command manually which wont work on
Windows, use the add_llvm_tool_symlink.