Skip to content

[build-script] Don't build stdlib for iOS if --skip-build-ios is passed #27840

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
Oct 24, 2019

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 22, 2019

When --skip-build-ios is passed, we should not build anything that is iOS related. This includes the standard library. However, we have so far been ignoring the flag for the standard library builds. This PR fixes this. The same also applies for watchOS and tvOS.

Disclaimer: I am not quite sure if this will break some bots that relied on the standard library being there. If any break, we should go and update the presets or revert this PR.

@ahoppen ahoppen requested review from shahmishal and aciidgh October 22, 2019 21:35
@ahoppen
Copy link
Member Author

ahoppen commented Oct 22, 2019

@swift-ci Please test

@shahmishal
Copy link
Member

@swift-ci build toolchain macOS

@ahoppen
Copy link
Member Author

ahoppen commented Oct 22, 2019

preset=buildbot_swiftpm_macos_platform,tools=RA,stdlib=RA
@swift-ci Please test with preset macOS Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 23, 2019

Using this PR to test changes to SwiftEvolve.

preset=buildbot_swiftevolve_macos
@swift-ci Please test with preset macOS Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 23, 2019

Using this PR to test changes to SwiftEvolve.

swiftlang/swift-stress-tester#92

preset=buildbot_swiftevolve_macos
@swift-ci Please test with preset macOS Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 23, 2019

Test SwiftEvolve again.

swiftlang/swift-stress-tester#92

preset=buildbot_swiftevolve_macos
@swift-ci Please test with preset macOS Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 23, 2019

@swift-ci build toolchain macOS

@swift-ci
Copy link
Contributor

macOS Toolchain
Download Toolchain
Git Sha - ea2d44e

Install command
tar -zxf swift-PR-27840-404-osx.tar.gz --directory ~/

@ahoppen ahoppen merged commit 9721fd7 into swiftlang:master Oct 24, 2019
@ahoppen ahoppen deleted the dont-build-ios-stdlib branch October 24, 2019 16:17
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.

4 participants