Skip to content

Bring back Sergio's "Add support for Process stdin stream" #208

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
Apr 14, 2021

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 12, 2021

This PR resurrects @sergiocampama's #122, which we required in order to be able to forward standard input in the new swift-driver to the compile jobs it spawns (swiftlang/swift-driver#595).

The change was previously reverted in #143, due to an error seen on Linux.

@artemcm artemcm requested a review from sergiocampama April 12, 2021 17:57
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 12, 2021
This change builds on swiftlang/swift-tools-support-core#208 to allow forwarding of the driver's Standard Input to a compile job.
@artemcm artemcm force-pushed the ProcessInputSergio branch from b7c9b44 to 2e6136c Compare April 12, 2021 20:07
@artemcm artemcm force-pushed the ProcessInputSergio branch from 2e6136c to b7097b0 Compare April 12, 2021 20:11
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 12, 2021
This change builds on swiftlang/swift-tools-support-core#208 to allow forwarding of the driver's Standard Input to a compile job.

Resolves rdar://76454784
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 12, 2021
This change builds on swiftlang/swift-tools-support-core#208 to allow forwarding of the driver's Standard Input to a compile job.

Resolves rdar://76454784
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 12, 2021
This change builds on swiftlang/swift-tools-support-core#208 to allow forwarding of the driver's Standard Input to a compile job.

Resolves rdar://76454784
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 12, 2021
This change builds on swiftlang/swift-tools-support-core#208 to allow forwarding of the driver's Standard Input to a compile job.

Resolves rdar://76454784
@artemcm
Copy link
Contributor Author

artemcm commented Apr 12, 2021

@swift-ci please test

@artemcm
Copy link
Contributor Author

artemcm commented Apr 12, 2021

@swift-ci please test macOS Platform

@artemcm
Copy link
Contributor Author

artemcm commented Apr 12, 2021

macOS testing failing with:

15:30:36 [./swift/utils/build-script] ERROR: can't find CMake (please install CMake)

cc @shahmishal

@shahmishal
Copy link
Member

Fixed the PATH issue

@shahmishal
Copy link
Member

@swift-ci please test macOS Platform

@artemcm
Copy link
Contributor Author

artemcm commented Apr 12, 2021

Fixed the PATH issue

Thanks!

@artemcm
Copy link
Contributor Author

artemcm commented Apr 13, 2021

@sergiocampama @neonichu, Cross-repository tests in swiftlang/swift#36869 all pass, including the Linux smoke tests, which seems to have caused the revert in #143.

Could you please take a look if this is okay to merge? Content-wise, this PR is identical to #122.

@artemcm artemcm merged commit 435a270 into swiftlang:main Apr 14, 2021
artemcm added a commit to artemcm/swift-driver that referenced this pull request Apr 14, 2021
This change builds on swiftlang/swift-tools-support-core#208 to allow forwarding of the driver's Standard Input to a compile job.

Resolves rdar://76454784
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