-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[libc++] Switch FreeBSD CI job to Clang 17 #86320
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
Conversation
@llvm/pr-subscribers-libcxx Author: Ed Maste (emaste) Changeslibc++ will drop support for Clang 16 before long. Full diff: https://github.com/llvm/llvm-project/pull/86320.diff 1 Files Affected:
diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index e42262620d5fb0..31e794e67d330d 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -209,8 +209,8 @@ steps:
- label: FreeBSD 13 amd64
command: libcxx/utils/ci/run-buildbot generic-cxx23
env:
- CC: clang16
- CXX: clang++16
+ CC: clang17
+ CXX: clang++17
agents:
queue: libcxx-builders
os: freebsd
|
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! LGTM!
Can we have C++26 mode enabled to be able to test the new features? |
Good point! Thanks! @emaste can you change that too? |
Observed the following failures on the FreeBSD builder with this change:
Typical error:
|
It seems FreeBSD's libc is not standard compliant.
and For now you can disable the module tests by adding |
Would |
That's indeed how they are written in the standard. But per C11 7.1.2 Standard headers/6 Since it seems most (all?) declarations in this headers are definitions just |
I'll give that a try now |
FreeBSD's libc is noncompliant as noted in discussion in llvm#86320.
libc++ will drop support for Clang 16 before long.
✅ With the latest revision this PR passed the Python code formatter. |
✅ With the latest revision this PR passed the C/C++ code formatter. |
FreeBSD bug 277958 submitted for libc: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277958 |
Hrm, it's a bit unfortunate that the only option is "squash and merge" and any evidence of 490441c as a separate change is lost. |
Where do we enable it? |
@@ -209,8 +209,8 @@ steps: | |||
- label: FreeBSD 13 amd64 | |||
command: libcxx/utils/ci/run-buildbot generic-cxx23 |
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.
I don't know.
How about
https://github.com/H-G-Hristov/llvm-project/blob/c05baf241cdf8ca34c3a6f0182487d40eeca8490/libcxx/utils/ci/run-buildbot#L318-L319:
generic-cxx23
-> generic-cxx26
?
@mordante is that the correct change?
OK, in #86658 I tested switching to |
As mention in the other PR we already use C++26. However there used in GitHub actions and not on Buildkite. |
libc++ will drop support for Clang 16 before long.