-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Build system improvements for lto #2941
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 system improvements for lto #2941
Conversation
@swift-ci Please python lint |
bc7ed47
to
d8ee835
Compare
@swift-ci Please python lint |
d8ee835
to
ef1bbb4
Compare
@swift-ci Please python lint |
ef1bbb4
to
8912124
Compare
@swift-ci Please python lint |
8912124
to
f8a94d4
Compare
@swift-ci Please python lint |
f8a94d4
to
05ef6b3
Compare
@swift-ci Please python lint |
05ef6b3
to
05a8744
Compare
@swift-ci Please python lint |
15a734e
to
c7a34c1
Compare
@swift-ci Please python lint |
@swift-ci Please smoke test |
c7a34c1
to
02c8623
Compare
@swift-ci Please python lint |
02c8623
to
59f0eff
Compare
@swift-ci please python lint |
@swift-ci Please smoke test linux |
59f0eff
to
a31c11f
Compare
@swift-ci Please smoke test linux |
a31c11f
to
8e9d458
Compare
@swift-ci Please smoke test linux |
…s the triggering of ltoing llvm/swift tools. Also change the relevant build-presets to use this flag instead of touching build-script-impl directly. rdar://24717107
…M_PARALLEL_LINK_JOBS to swift as well as llvm. The reason to do this is the same reason that we already pass in -DLLVM_ENABLE_LTO=YES to swift, to ensure that parts of our codebase that use the llvm build machinery (e.g. the unittests) do not use too many linker jobs given the memory constraints of a given machine. rdar://24717107
This makes it clear to the user that they are enabling lto only for swift tools, not for the swift standard library/runtime. rdar://24717107
8e9d458
to
4aaea93
Compare
@swift-ci Please python lint |
@swift-ci Please smoke test and merge |
…m build-script-impl into build support. rdar://24717107
4aaea93
to
2e7d88e
Compare
I fixed the smoke test failure issue on a linux machine. I feel ok merging this. |
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
Validation Testing
Lint Testing
Note: Only members of the Apple organization can trigger swift-ci.