Skip to content

Commit

Permalink
[SYCL][Driver] Add target DeviceConfigFile to DEPENDS of clangDriver …
Browse files Browse the repository at this point in the history
…(#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.
  • Loading branch information
wenju-he authored Apr 11, 2024
1 parent d652283 commit b1c514a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ add_clang_library(clangDriver

DEPENDS
ClangDriverOptions
DeviceConfigFile

LINK_LIBS
clangBasic
Expand Down

0 comments on commit b1c514a

Please sign in to comment.