chore(3p/nix): disable clang-tidy in cmake
Change-Id: I9ff1ae10afe5af066aaff377424522a19977dc3d Reviewed-on: https://cl.tvl.fyi/c/depot/+/1428 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
0b74688e9c
commit
bbbb97e142
1 changed files with 3 additions and 2 deletions
5
third_party/nix/CMakeLists.txt
vendored
5
third_party/nix/CMakeLists.txt
vendored
|
@ -30,8 +30,9 @@ find_package(glog REQUIRED)
|
|||
|
||||
find_program(CLANG_TIDY_PATH clang-tidy)
|
||||
if (CLANG_TIDY_PATH)
|
||||
message("Found clang-tidy: ${CLANG_TIDY_PATH}")
|
||||
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH}")
|
||||
# TODO(kanepyork): figure out how to reenable
|
||||
#message("Found clang-tidy: ${CLANG_TIDY_PATH}")
|
||||
#set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_PATH};--line-filter=[{\"name\":\"src/cpptoml/cpptoml.h\"},{\"name\":\"google/protobuf/metadata_lite.h\"}]")
|
||||
|
||||
# nix's toolchain has a problem with system header includes, so clang-tidy requires a manual -isystem
|
||||
if (DEFINED ENV{LIBCXX_INCLUDE})
|
||||
|
|
Loading…
Reference in a new issue