From b1c514a9df3b4e206a803fd63c794bc76c8413bc Mon Sep 17 00:00:00 2001 From: Wenju He Date: Thu, 11 Apr 2024 18:43:34 +0800 Subject: [PATCH] [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. --- clang/lib/Driver/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Driver/CMakeLists.txt b/clang/lib/Driver/CMakeLists.txt index bfeb4a763da84..94400f08154a2 100644 --- a/clang/lib/Driver/CMakeLists.txt +++ b/clang/lib/Driver/CMakeLists.txt @@ -98,6 +98,7 @@ add_clang_library(clangDriver DEPENDS ClangDriverOptions + DeviceConfigFile LINK_LIBS clangBasic