-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Disabling of most llvm tools when not testing swift #3697
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
Disabling of most llvm tools when not testing swift #3697
Conversation
@swift-ci Please smoke test |
9e16be0
to
dc070c8
Compare
@swift-ci Please smoke test |
@swift-ci Please smoke test linux platform |
@swift-ci Please smoke test OS X platform |
…he cmake variable that is being set to false. This is just a simple NFC cleanup commit.
…DE_TESTS via SOURCE_TREE_CINDLUES_TESTS. It is by default set to True and we turn it off via the variable LLVM_INCLUDE_TESTS now. This actually became a no-op since the build-script-impl triggered instance of LLVM_INCLUDE_TESTS is always put strictly after this instance of setting the cmake variable on the cmake line.
This matches cmake more closely and also matches the build-script-impl argument for including llvm tests ("llvm-include-tests").
…M, disable all parts of LLVM that are not needed for compiling Swift.
…ools to its on function.
dc070c8
to
907f73d
Compare
@swift-ci Please test and merge |
) | ||
done | ||
echo "${OUTPUT[@]}" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SR-237 tracks migrating the code in build-script-impl
to Python. Would it be possible to implement this function in Python instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I will refactor in a subsequent commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
What's in this pull request?
Resolved bug number: (SR-)
Before merging this pull request to apple/swift repository:
Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
A smoke test on macOS does the following:
device standard libraries are not built.
version of these tests are not run.
A smoke test on Linux does the following:
tests are not run.
Validation Testing
Lint Testing
Note: Only members of the Apple organization can trigger swift-ci.