-
Notifications
You must be signed in to change notification settings - Fork 274
Test builds using clang-14 in CI #7496
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
7548ed2
to
947b072
Compare
b2e0440
to
54a7b5a
Compare
Compiler names may include spaces (such as `ccache gcc`).
Clang warns when bitwise operations are used with Boolean operands.
glibc headers define C99 variants via asm renaming. Library checks (rightly) failed when using clang 14, reporting duplicate definitions. Fixes: diffblue#7366
All functions must be declared before being used, and library checks should not fail due to duplicate definitions.
The rules were already in place, but there was no dependency to ensure invocation.
Ubuntu 22.04 ships version 14 of clang by default. Use it in CI (and not just clang-10, as other jobs already do).
54a7b5a
to
4bd1d94
Compare
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 recognise all the fixes are mostly to get things to work with clang-14, but typically it's nice to be in separate PRs (here it's ok, and in clear commits).
Also it would be good if this was a required job (@peterschrammel ).
@@ -242,6 +242,76 @@ jobs: | |||
- name: Run tests | |||
run: cd build; ctest . -V -L CORE -j2 | |||
|
|||
# This job takes approximately N minutes |
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.
N=34?
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.
My apologies for failing to clean this up, I've now taken care of this in #7504.
Ubuntu 22.04 ships version 14 of clang by default. Use it in CI (and not just clang-10, as other jobs already do).