Commit 5c48f17f authored by Paul's avatar Paul
Browse files

Use different tidy version

parent 5188c062
......@@ -7,6 +7,16 @@ add_compile_options(-std=c++14)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include(EnableCompilerWarnings)
# Override clang-tidy to not find the version from hcc
find_program(CLANG_TIDY_EXE
NAMES
clang-tidy
clang-tidy-5.0
clang-tidy-6.0
clang-tidy-7.0
PATHS
/usr/local/opt/llvm/bin
)
include(ROCMClangTidy)
rocm_enable_clang_tidy(
CHECKS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment