-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
[libc++][CI] Upgrade compiler HEAD version to Clang-20 #108761
base: main
Are you sure you want to change the base?
Conversation
✅ With the latest revision this PR passed the Python code formatter. |
2fa7cdb
to
7c9c19a
Compare
libcxx/test/std/utilities/variant/variant.visit.member/robust_against_adl.pass.cpp
Outdated
Show resolved
Hide resolved
libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/add_sat.pass.cpp
Outdated
Show resolved
Hide resolved
72a3714
to
4a64f35
Compare
Before changing the compiler version in #108761, we first of all need to upgrade the HEAD version to `Clang-20` in the Docker files and push new builder images to the CI.
3e9a7ab
to
ed34e6d
Compare
ed34e6d
to
1ba5736
Compare
LLVM_OLDEST_VERSION: "17" | ||
LLVM_HEAD_VERSION: "20" # Used compiler, update POST-BRANCH. | ||
LLVM_PREVIOUS_VERSION: "19" | ||
LLVM_OLDEST_VERSION: "18" | ||
GCC_STABLE_VERSION: "13" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GCC_STABLE_VERSION: "13" | |
GCC_STABLE_VERSION: "14" |
Just an off-topic question: Shouldn't this value be 14?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out! This env variable might be unused. It seems to me that the actual version for gcc is configured here. I will double check my claim.
1ba5736
to
5746ee8
Compare
# if _LIBCPP_CLANG_VER < 1700 | ||
# warning "Libc++ only supports Clang 17 and later" | ||
# if _LIBCPP_CLANG_VER < 1800 | ||
# warning "Libc++ only supports Clang 18 and later" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The buildkite builds fail because AIX, arm, FreeBSD use Clang 17 still:
https://buildkite.com/llvm-project/libcxx-ci/builds/37764#0192014a-8840-47ea-b2bf-31aa8dd679de/2158-2953
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great hint! Thanks. I did not yet finalized this PR (hence the draft) as we're still working on updating the CI images. This is not yet finished. As long as the images for the CI builders are not updated, this PR will not work. I keep you updated.
5746ee8
to
594ee7d
Compare
Let's adjust tests and implementation in a seperate PR.
594ee7d
to
7161e41
Compare
Why
The release branch for LLVM 19.x is created (
release/19.x
) as anounced here. As a result, the version on main is now20.0.0git
. Therefore, we no longer officially supportClang-17
, but insteadClang-{18,19,20}
.What
Upgrade HEAD version to Clang-20 in CI configs. Adjustments for libc++ tests and implementations will be done in follow-up patches.