Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
5c48f17f
Commit
5c48f17f
authored
Apr 24, 2018
by
Paul
Browse files
Use different tidy version
parent
5188c062
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
CMakeLists.txt
CMakeLists.txt
+10
-0
No files found.
CMakeLists.txt
View file @
5c48f17f
...
@@ -7,6 +7,16 @@ add_compile_options(-std=c++14)
...
@@ -7,6 +7,16 @@ add_compile_options(-std=c++14)
list
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake
)
list
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake
)
include
(
EnableCompilerWarnings
)
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
)
include
(
ROCMClangTidy
)
rocm_enable_clang_tidy
(
rocm_enable_clang_tidy
(
CHECKS
CHECKS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment