-
Notifications
You must be signed in to change notification settings - Fork 409
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
fix: Suppress the warning from boost to fix build failure. #4796
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
2826000
to
33004ac
Compare
/cc @JaySon-Huang |
a1894b1
to
da11bfd
Compare
Signed-off-by: Jun Zhang <[email protected]>
Signed-off-by: Jun Zhang <[email protected]>
Signed-off-by: Jun Zhang <[email protected]>
da11bfd
to
34b9d4f
Compare
/merge |
@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 34b9d4f
|
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
@JaySon-Huang @fuzhe1989 Can't build-in clang.
|
May I ask your clang version? For me everything works fine for Clang trunk. |
@jiaqizho What's your error message for compile error? The CI build TiFlash with Clang 13.0.0 and give no warnings/errors https://ci.pingcap.net/blue/organizations/jenkins/tiflash-build-common/detail/tiflash-build-common/4096/pipeline/150 |
I just realized that the minimal toolchain requirement were not matched in the CMakelists.txt and README. That said cmake will only complain when clang < 5 or gcc < 7. I guess that will confuse some folks especially who first work on the project. If we really just want guarantee tiflash compiles in recent compilers, maybe we should align the requirements in CMakelists.txt @JaySon-Huang @fuzhe1989 @ywqzzy |
Now we only declare the minimal toolchain requirement in the README.md (and collapsed by default). We have not changed the related warnings in CMakeLists.txt yet. /cc @SchrodingerZhu |
Apple clang version 12.0.5 (clang-1205.0.22.11) |
Good, that's the issue I guess. I don't have a mac so I can't really test it, but the following godbolt link shows that this flag is only supported after clang 13: https://godbolt.org/z/hWr5bss85 Maybe try to use homebrew to get yourself a more recent compiler? |
We can add a line |
Signed-off-by: Jun Zhang [email protected]
What problem does this PR solve?
Issue Number: close #4771
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note