Skip to content

Commit 7d8d4f3

Browse files
authored
[SYCLomatic] Update the build lit configuration. (#1938)
Signed-off-by: Chen, Sheng S <[email protected]>
1 parent 450628e commit 7d8d4f3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

clang/test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ list(APPEND CLANG_TEST_DEPS
8080
clang-offload-packager
8181
diagtool
8282
hmaptool
83+
8384
dpct-binary
85+
dpct-codepin-report-files
86+
scan-build-py
87+
pattern-rewriter-binary
8488
)
8589

8690
if(CLANG_ENABLE_STATIC_ANALYZER)

clang/tools/dpct/codepin/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_BINARY_DIR}/bin/codepin-report.py
2-
COMMAND ${CMAKE_COMMAND} -E copy
1+
add_custom_target(dpct-codepin-report-files ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/codepin-report.py
2+
COMMAND ${CMAKE_COMMAND} -E copy
33
${CMAKE_CURRENT_SOURCE_DIR}/codepin-report.py
44
${CMAKE_BINARY_DIR}/bin)
5-
list(APPEND dpct-codepin-report-dependends ${CMAKE_BINARY_DIR}/bin/codepin-report.py)
6-
7-
add_custom_target(dpct-codepin-report-files ALL DEPENDS ${dpct-codepin-report-dependends})
85

96
install(PROGRAMS codepin-report.py
107
DESTINATION ./bin

0 commit comments

Comments
 (0)