-
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
gcc: build with --disable-multilib, as it used only to bootstrap llvm #114523
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Note that the GCC build is pretty much perfectly cached in Docker and almost never rebuilt. Therefore speeding up the GCC build won't actually reduce CI time. |
Please kick a try build, thanks. |
@bors try |
⌛ Trying commit d3d91bce7fa1895bebc80362007839e1da3f75a9 with merge 27c5e124bc8b71c4a4a611d9a48b0b39c1fc9b2b... |
Oh, maybe. |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
To provide a little more context: anything that is built inside the Dockerfile is cached via an external Docker image cache. The Docker cache sometimes gets busted, but for 99% runs it works. So there's not much point in optimizing the duration of building stuff inside the Docker. The important stuff to optimize is in the opt-dist tool, or in bootstrap itself. |
d3d91bc
to
28e0286
Compare
Smaller size? Kindly ask for retry, wrongly mixed comments and code in previous attempt. |
@bors try Smaller size of the Docker image? Possibly, but that hasn't been a bottleneck in any sort of way so far, I don't think that we need to care about that much. |
⌛ Trying commit 28e0286565b86a7a2f46a368c6eb73e4e2c67f18 with merge d79d498296c64e8208946099ee74b6cb7f3d3665... |
💔 Test failed - checks-actions |
28e0286
to
6577de8
Compare
@bors try |
⌛ Trying commit 6577de82ac54e90d57235b5333a2762fd48defae with merge 1ab1182368cc378834e79a5888af6e7cec32fecd... |
Predicting fail here
|
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This script is also reused by
Their |
Maybe move copy of build-gcc.sh for i686 into it's own folder, so rust/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh Lines 42 to 45 in 475be26
can be removed? |
If we split them, I think we could skip the gcc build entirely on |
…o build 32-bit. Remove linked 32-bit libraries, dist-i686-linux have it's own build-gcc.sh
6577de8
to
9154a8f
Compare
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
☔ The latest upstream changes (presumably #116352) made this pull request unmergeable. Please resolve the merge conflicts. |
@klensy any updates on this? thanks |
Closing this as inactive. Feel free to reöpen this pr or create a new pr if you get the time to work on this. Thanks |
Should probably reduce CI time a little