Skip to content

Commit 47b9163

Browse files
committed
Disable analyze since there is no clang tidy
1 parent 92c0417 commit 47b9163

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

test/pass/analyze-gh.cmake

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
# Copyright (C) 2020 Advanced Micro Devices, Inc.
33
# ######################################################################################################################
44

5-
install_dir(${TEST_DIR}/analyze TARGETS analyze analyze)
5+
if(WIN32)
6+
install_dir(${TEST_DIR}/analyze)
67

78
install_dir(
89
${TEST_DIR}/analyze
9-
CMAKE_ARGS -DCLANG_TIDY_CACHE_SIZE=0 -DROCM_ENABLE_GH_ANNOTATIONS=On
10-
TARGETS analyze analyze)
10+
CMAKE_ARGS -DCLANG_TIDY_CACHE_SIZE=0 -DROCM_ENABLE_GH_ANNOTATIONS=On)
11+
12+
else()
13+
install_dir(${TEST_DIR}/analyze TARGETS analyze analyze)
14+
15+
install_dir(
16+
${TEST_DIR}/analyze
17+
CMAKE_ARGS -DCLANG_TIDY_CACHE_SIZE=0 -DROCM_ENABLE_GH_ANNOTATIONS=On
18+
TARGETS analyze analyze)
19+
endif()

test/pass/analyze.cmake

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
# Copyright (C) 2017 Advanced Micro Devices, Inc.
33
# ######################################################################################################################
44

5-
install_dir(${TEST_DIR}/analyze TARGETS analyze analyze)
5+
if(WIN32)
6+
install_dir(${TEST_DIR}/analyze)
67

7-
install_dir(
8-
${TEST_DIR}/analyze
9-
CMAKE_ARGS -DCLANG_TIDY_CACHE_SIZE=0
10-
TARGETS analyze analyze)
8+
install_dir(
9+
${TEST_DIR}/analyze
10+
CMAKE_ARGS -DCLANG_TIDY_CACHE_SIZE=0)
11+
else()
12+
install_dir(${TEST_DIR}/analyze TARGETS analyze analyze)
13+
14+
install_dir(
15+
${TEST_DIR}/analyze
16+
CMAKE_ARGS -DCLANG_TIDY_CACHE_SIZE=0
17+
TARGETS analyze analyze)
18+
endif()

0 commit comments

Comments
 (0)