-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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: unset NO_DOWNLOAD_CI_LLVM for 2 windows jobs #132781
Conversation
@bors try |
…try> CI: unset NO_DOWNLOAD_CI_LLVM for windows try-job: i686-mingw try-job: x86_64-mingw 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 |
I don't know how this works, but perhaps the dist build without that ENV has to be completed first so it can upload the artifacts? |
It seems to me from the CI logs that |
@bors try |
…try> CI: unset NO_DOWNLOAD_CI_LLVM for windows try-job: dist-i686-mingw try-job: dist-x86_64-mingw
I'm trying the jobs dist-i686-mingw and dist-x86_64-mingw. Not sure if I understood correctly your suggestion 🤔 |
☀️ Try build successful - checks-actions |
9507f36
to
4d80c65
Compare
It doesn't look like this does anything for CI time though. Let's try again to see if some cache kicks in. @bors try |
…try> CI: unset NO_DOWNLOAD_CI_LLVM for 2 windows jobs try-job: dist-i686-mingw try-job: dist-x86_64-mingw
☀️ Try build successful - checks-actions |
Doesn't seem like there is any CI time effect. |
Doesn't seem to work: |
Ah, it also doesn't work for MSVC. Probably a general Windows problem. |
Since it doesn't work and it doesn't make a big impact on timings, I'll close this PR 👍 |
So this is the reason why it doesn't work with MSVC: rust/src/ci/scripts/install-clang.sh Line 67 in a8e75c5
Do you want to give it another try or should I open a PR? |
go for it :) |
Btw the logs for the try job of dist-x86_64-mingw show that the group "Building LLVM for x86_64-pc-windows-gnu" took 14 minutes. So it seems that we aren't downloading llvm. Maybe it's because we detect that it changed (based on this)? Also, I found this comment that suggests that we should keep this ENV variable for dist builders. Do you agree? |
Dist builders are designed to build the components, and other jobs (and tools like rustup etc.) are designed to download them. So we should keep building them on the dist builders. In theory, we could just build them from time to time, but I don't think I trust our CI enough to do that at the moment. |
FYI I tried downloading llvm in mingw but it fails |
mati865 mentioned in #132721 (comment) that we can remove this environment variable
try-job: dist-i686-mingw
try-job: dist-x86_64-mingw