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

Do not build LLVM tools for any of the tools #51725

Merged
merged 1 commit into from
Jun 26, 2018

Conversation

Mark-Simulacrum
Copy link
Member

None of the tools in the list should need LLVM tools themselves as far as I can
tell; if this is incorrect, we can re-enable the tool building later.

The primary reason for doing this is that rust-central-station uses the
BuildManifest tool and building LLVM there is not cached: it takes ~1.5
hours on the 2 core machine. This commit should make nightlies and
stable releases much faster.

Followup to #51459, r? @kennytm

I'm mostly relying on CI to test this so probably don't roll it up; I'm not sure how to (and not particularly inclined to) wait for multiple hours to test this locally. I imagine that the failures should be fairly obvious when/if encountered.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 23, 2018
@Mark-Simulacrum Mark-Simulacrum added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jun 23, 2018
@Mark-Simulacrum
Copy link
Member Author

Nominating for beta as without this stable releases take ~3 hours which is much too long (other releases don't matter as much since they're manual).

@kennytm
Copy link
Member

kennytm commented Jun 23, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Jun 23, 2018

📌 Commit 2abeaea8b6ffbe7d134e7f4adf0310a2a4d54121 has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 23, 2018
@kennytm
Copy link
Member

kennytm commented Jun 23, 2018

The LLVM tool dependency was added by 54b0e07 for a single run-make test. In principle we should enable it for compiletest. But since Travis is passing maybe this is not really needed?

@Mark-Simulacrum
Copy link
Member Author

That code should be the one to depend on llvm tools, not compiletest or any other tool I think. If this fails CI I'll fix it otherwise doesn't seem important - probably the dependency edge already exists.

@bors
Copy link
Contributor

bors commented Jun 23, 2018

⌛ Testing commit 2abeaea8b6ffbe7d134e7f4adf0310a2a4d54121 with merge 51228aeadfb7e2afae88d21cedac480e056f3a8d...

@bors
Copy link
Contributor

bors commented Jun 23, 2018

💔 Test failed - status-appveyor

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 23, 2018
@kennytm
Copy link
Member

kennytm commented Jun 23, 2018

Ok looks like compiletest does require llvm_tools = true.

@kennytm kennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 23, 2018
None of the tools in the list should need LLVM tools themselves as far as I can
tell; if this is incorrect, we can re-enable the tool building later.

The primary reason for doing this is that rust-central-station uses the
BuildManifest tool and building LLVM there is not cached: it takes ~1.5
hours on the 2 core machine. This commit should make nightlies and
stable releases much faster.
@Mark-Simulacrum
Copy link
Member Author

@bors r=kennytm

@bors
Copy link
Contributor

bors commented Jun 25, 2018

📌 Commit 557d05b has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 25, 2018
@Mark-Simulacrum Mark-Simulacrum added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Jun 26, 2018
@bors
Copy link
Contributor

bors commented Jun 26, 2018

⌛ Testing commit 557d05b with merge 7008a95...

bors added a commit that referenced this pull request Jun 26, 2018
Do not build LLVM tools for any of the tools

None of the tools in the list should need LLVM tools themselves as far as I can
tell; if this is incorrect, we can re-enable the tool building later.

The primary reason for doing this is that rust-central-station uses the
BuildManifest tool and building LLVM there is not cached: it takes ~1.5
hours on the 2 core machine. This commit should make nightlies and
stable releases much faster.

Followup to #51459, r? @kennytm

I'm mostly relying on CI to test this so probably don't roll it up; I'm not sure how to (and not particularly inclined to) wait for multiple hours to test this locally. I imagine that the failures should be fairly obvious when/if encountered.
@bors
Copy link
Contributor

bors commented Jun 26, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: kennytm
Pushing 7008a95 to master...

@bors bors merged commit 557d05b into rust-lang:master Jun 26, 2018
@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Jun 28, 2018
bors added a commit that referenced this pull request Jun 28, 2018
[beta] Rollup backports

Merged and approved:

* #51725: Do not build LLVM tools for any of the tools
* #51852: Don't use `ParamEnv::reveal_all()` if there is a real one available
* #51686: yet another "old borrowck" bug around match default bindings
* #51868: Remove process::id from 'Stabilized APIs' in 1.27.0 release notes
*  #51335: Prohibit `global_allocator` in submodules

r? @ghost
@Mark-Simulacrum Mark-Simulacrum deleted the no-llvm branch June 8, 2019 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants