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

build: adjust the early swift-driver handling #75965

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

compnerd
Copy link
Member

Windows has a strict limit on the file path, and use of extended names for the build is not possible. Rather than hardcoding the location of the early swift-driver build, allow the user to specify the path. If the path is specified, we will attempt to copy swift-driver and swift-help from that location. Adjust the code to account for the build executable suffix. This should allow Windows to experiment with an early swift-driver build.

@compnerd
Copy link
Member Author

CC: @artemcm @etcwilde

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

1 similar comment
@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@compnerd
Copy link
Member Author

@swift-ci please test macOS platform

@compnerd
Copy link
Member Author

compnerd commented Sep 3, 2024

@swift-ci please test Linux platform

@compnerd
Copy link
Member Author

compnerd commented Sep 4, 2024

@swift-ci please test Linux platform

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Nov 8, 2024

@swift-ci please test

utils/build-script-impl Outdated Show resolved Hide resolved
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

Windows has a strict limit on the file path, and use of extended names
for the build is not possible. Rather than hardcoding the location of
the early swift-driver build, allow the user to specify the path. If the
path is specified, we will attempt to copy `swift-driver` and
`swift-help` from that location. Adjust the code to account for the
build executable suffix. This should allow Windows to experiment with an
early swift-driver build.
@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@compnerd
Copy link
Member Author

@swift-ci please test macOS platform

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd enabled auto-merge November 13, 2024 23:37
@compnerd compnerd merged commit ed42300 into swiftlang:main Nov 14, 2024
4 of 5 checks passed
@compnerd compnerd deleted the training-permit branch November 14, 2024 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants