Skip to content

Commit b1c514a

Browse files
authored
[SYCL][Driver] Add target DeviceConfigFile to DEPENDS of clangDriver (#13328)
Fix `llvm/SYCLLowerIR/DeviceConfigFile.inc: No such file or directory` when compiling clang Driver.cpp The inc file is generated by tablegen_target DeviceConfigFile.
1 parent d652283 commit b1c514a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Driver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ add_clang_library(clangDriver
9898

9999
DEPENDS
100100
ClangDriverOptions
101+
DeviceConfigFile
101102

102103
LINK_LIBS
103104
clangBasic

0 commit comments

Comments
 (0)