-
Notifications
You must be signed in to change notification settings - Fork 13k
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
ci: fix explanation why LLVM download is disabled for windows-gnu #133266
base: master
Are you sure you want to change the base?
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
Basically my plan is to do try build with dist so the artifacts get uploaded and then do another try but with test jobs. |
I would personally prefer to disable LLVM download on the dist runners, to exercise the LLVM build path regularly. |
I think dist runners always build LLVM artifacts for download (at least that appears to be the case in #132781) despite using the same environment variable. |
Yeah, just to clarify, what I meant was that we shouldn't change the behavior on dist runners - they should always build. |
@bors r+ rollup=never |
FWIW, this PR currently still enables LLVM download for the |
Does it actually do that? AFAICT, the NO_DOWNLOAD_CI_LLVM there was just a no-op -- we don't ever read that outside of non-dist builds afaict ( Lines 165 to 185 in 481b5fa
@bors r- until we settle this |
Sorry, you're right, I missed this, the bash scripts are a bit confusing. Then this should be fine. |
@bors r+ |
…=Mark-Simulacrum ci: enble LLVM download for windows-gnu hosts Continuation of rust-lang#132781 try-job: dist-i686-mingw try-job: dist-x86_64-mingw
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
@rustbot author Seems probably real? |
Yeah, looks valid. I'll look into it on the weekend. |
☔ The latest upstream changes (presumably #133659) made this pull request unmergeable. Please resolve the merge conflicts. |
81f25bb
to
991ab24
Compare
The problem stems from the fact that dist builders have LLVM assertions disabled while test runners have assertions enabled. Lines 127 to 128 in 6c76ed5
Do we want to change it somehow, or shall I just update the comments to describe what really happens? |
☔ The latest upstream changes (presumably #133940) made this pull request unmergeable. Please resolve the merge conflicts. |
@mati865 |
@alex-semenyuk yes, the question I had asked in the previous comment remains unanswered. |
@Mark-Simulacrum @Kobzol Could you please help with
|
My guess is that implies we should close this; I don't think it merits spinning up alt builders for having this enabled (the cost-benefit isn't really there I suspect). |
I will repurpose the PR to only change the comment layer today. |
991ab24
to
4691415
Compare
Some time has passed since I investigated this issue, but I think Updated comments regarding test runners and enabled download on dist runners. I'm relatively confident it should pass now. |
As Mark correctly said, the environment variable is simply ignored on dist builders, so this should be fine - dist builders will not download LLVM. But still, to be sure: @bors try |
…=<try> ci: enble LLVM download for windows-gnu hosts Continuation of rust-lang#132781 try-job: dist-x86_64-mingw try-job: dist-i686-mingw
Ah, I forgot about that. Sorry for not going through the whole topic. |
☀️ Try build successful - checks-actions |
@bors r+ rollup |
4691415
to
b20bc53
Compare
Retitled PR and commit to make it reflect the true change. The previous title would give a false hope for CI time improvements. |
Continuation of #132781