Pre-install all CI compilers in base Docker image - #7879
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
atalman
approved these changes
Mar 24, 2026
Pre-install GCC 11, 13, 14 (via gcc-toolset) and clang 15, 18 (from S3 tarballs) in the base image so that the setup-linux action only needs to activate the right compiler instead of downloading/installing at runtime. The manylinux_2_28 base image (AlmaLinux 8) ships with GCC 8 as the system default and bundles gcc-toolset-12 under /usr/local/bin. All needed toolset versions are now pre-installed under /opt/rh/gcc-toolset-*. Also register clang runtime library directories with ldconfig so that libclang_rt.asan.so is discoverable by the linker without LD_LIBRARY_PATH workarounds in CI scripts. Authored with Claude.
huydhn
force-pushed
the
huydhn/preinstall-compilers
branch
from
March 24, 2026 23:25
c493de6 to
a9481ae
Compare
pytorchmergebot
pushed a commit
to pytorch/pytorch
that referenced
this pull request
Mar 27, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: #178361 Approved by: https://github.com/atalman
Copilot AI
pushed a commit
to pytorch/pytorch
that referenced
this pull request
Mar 27, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: #178361 Approved by: https://github.com/atalman Co-authored-by: Xia-Weiwen <12522207+Xia-Weiwen@users.noreply.github.com>
AaronWang04
pushed a commit
to AaronWang04/pytorch
that referenced
this pull request
Mar 31, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: pytorch#178361 Approved by: https://github.com/atalman
pytorch-bot Bot
pushed a commit
to pytorch/pytorch
that referenced
this pull request
Apr 2, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: #178361 Approved by: https://github.com/atalman
IvanKobzarev
pushed a commit
to IvanKobzarev/pytorch
that referenced
this pull request
Apr 3, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: pytorch#178361 Approved by: https://github.com/atalman
nklshy-aws
pushed a commit
to nklshy-aws/pytorch
that referenced
this pull request
Apr 7, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: pytorch#178361 Approved by: https://github.com/atalman
gplutop7
pushed a commit
to gplutop7/pytorch
that referenced
this pull request
Jul 15, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: pytorch#178361 Approved by: https://github.com/atalman
aws-kingrj
pushed a commit
to amazon-contributing/upstream-to-pytorch
that referenced
this pull request
Jul 29, 2026
The logic has been moved to pytorch/test-infra#7879, so here we just need to choose the right compiler. Pull Request resolved: pytorch#178361 Approved by: https://github.com/atalman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-install GCC 11, GCC 13, GCC 14, clang 15, and clang 18 in the base image so that the setup-linux action only needs to activate the right compiler instead of downloading/installing at runtime. This reduces CI job latency and removes fragile S3/dnf dependencies from the critical path.
Also register clang runtime library directories with ldconfig so that libclang_rt.asan.so is discoverable by the linker without LD_LIBRARY_PATH workarounds in CI scripts.