about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-07-25T02·35-0700
committerkanepyork <rikingcoding@gmail.com>2020-07-25T03·06+0000
commitbbbb97e1422de0cc365d1884eb2604d07ffb3321 (patch)
tree1d67314587b2bdaa07ccc695671f133f24095094 /third_party/nix
parent0b74688e9c2cb17029a8b64e33061e7af79f6187 (diff)
chore(3p/nix): disable clang-tidy in cmake r/1469
Change-Id: I9ff1ae10afe5af066aaff377424522a19977dc3d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1428
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix')
-rw-r--r--third_party/nix/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/CMakeLists.txt b/third_party/nix/CMakeLists.txt
index 6524590b0580..6a9ab6bf8a8f 100644
--- a/third_party/nix/CMakeLists.txt
+++ b/third_party/nix/CMakeLists.txt
@@ -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})