This is an automated email from the ASF dual-hosted git repository. twice pushed a commit to branch twice/fix-tbb-compile-failure in repository https://gitbox.apache.org/repos/asf/kvrocks.git
commit 7098367954dd20705e2b972d06be553409e6523e Author: Twice <[email protected]> AuthorDate: Fri Nov 10 00:07:06 2023 +0900 Fix TBB compile failure due to `-Werror` and `#warning` In a glibc header, a warning diagnostic message will be emitted while optimization level is low. And if `TBB_STRICT` is enabled, all warnings will be treated as error and then make the compilation of TBB fail. We disable the option and thus solve #1885. --- cmake/tbb.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/tbb.cmake b/cmake/tbb.cmake index 286cfa05..89d5f5e8 100644 --- a/cmake/tbb.cmake +++ b/cmake/tbb.cmake @@ -25,6 +25,7 @@ FetchContent_DeclareGitHubWithMirror(tbb ) FetchContent_MakeAvailableWithArgs(tbb + TBB_STRICT=OFF TBB_TEST=OFF TBB_EXAMPLES=OFF TBBMALLOC_BUILD=OFF
