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

[cmake] Move a bunch of test binaries from install component 'tools' -> 'testsuite-tools'. #40077

Merged

Conversation

Labels
None yet
Projects
None yet
5 participants
@gottesmm
Copy link
Member

@gottesmm gottesmm commented Nov 6, 2021

All of these are tools that are only meant to be used when testing swift. Thus
it doesn't make sense to include them in the catch all 'tools' install component
that distributions use to build all the tools.

I verified that all of the mac/linux presets in tree that have tools also has
testsuite-tools so this should be NFC. On Windows, I needed to add
testsuite-tools to build-windows.bat so should be NFC there as well.

@gottesmm gottesmm requested a review from compnerd Nov 6, 2021
@gottesmm
Copy link
Member Author

@gottesmm gottesmm commented Nov 6, 2021

@swift-ci test

Loading

@gottesmm
Copy link
Member Author

@gottesmm gottesmm commented Nov 6, 2021

@swift-ci build toolchain

Loading

Copy link
Collaborator

@compnerd compnerd left a comment

Thanks! This definitely should help improve the CI space usage on Windows.

Loading

@swift-ci
Copy link
Contributor

@swift-ci swift-ci commented Nov 6, 2021

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - df5f9f5

Install command
tar zxf swift-PR-40077-727-ubuntu16.04.tar.gz
More info

Loading

@swift-ci
Copy link
Contributor

@swift-ci swift-ci commented Nov 6, 2021

macOS Toolchain
Download Toolchain
Git Sha - df5f9f5

Install command
tar -zxf swift-PR-40077-1211-osx.tar.gz --directory ~/

Loading

@compnerd
Copy link
Collaborator

@compnerd compnerd commented Nov 7, 2021

Some measurements - this reduced the build artifacts from 3.9G to 3.5G.

Loading

@gottesmm
Copy link
Member Author

@gottesmm gottesmm commented Nov 8, 2021

@compnerd just a FYI, I am checking with some people to make sure my guesstimates on what we can remove here is correct.

Loading

@compnerd
Copy link
Collaborator

@compnerd compnerd commented Nov 8, 2021

@gottesmm - sounds good; I would be more clear though - it isn't being removed, only being given additional control when building with the LLVM distribution mechanism. If you use a standalone Swift build, this will not have any impact.

Loading

ahoppen
ahoppen approved these changes Nov 8, 2021
Copy link
Collaborator

@ahoppen ahoppen left a comment

LGTM for swift-ide-test, swift-syntax-parser-test and swift-syntax-test.

Loading

…-> 'testsuite-tools'.

All of these are tools that are only meant to be used when testing swift. Thus
it doesn't make sense to include them in the catch all 'tools' install component
that distributions use to build all the tools.

I verified that all of the mac/linux presets in tree that have tools also has
testsuite-tools so this should be NFC. On Windows, I needed to add
testsuite-tools to build-windows.bat so should be NFC there as well.
@gottesmm gottesmm force-pushed the pr-2ea314186d00544a71b7886ab6ef6743b4b560ab branch from df5f9f5 to 06cb5c0 Nov 9, 2021
@gottesmm
Copy link
Member Author

@gottesmm gottesmm commented Nov 9, 2021

I removed swift-ide-test since I think some people depend on it. I think I am going to include it in a different category though.

Loading

@gottesmm
Copy link
Member Author

@gottesmm gottesmm commented Nov 9, 2021

@swift-ci smoke test

Loading

edymtt
edymtt approved these changes Nov 9, 2021
@gottesmm gottesmm merged commit b02dc65 into apple:main Nov 10, 2021
3 checks passed
Loading
@gottesmm gottesmm deleted the pr-2ea314186d00544a71b7886ab6ef6743b4b560ab branch Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment