Skip to content

Commit 725ed34

Browse files
committed
Fix MLIRCIRInterfaces and clangFrontendTool build error
1 parent bd25483 commit 725ed34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/CIR/Interfaces/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ add_clang_library(MLIRCIRInterfaces
1313
MLIRCIRTypeInterfacesIncGen
1414
MLIRCIRLoopOpInterfaceIncGen
1515
MLIRCIROpInterfacesIncGen
16+
MLIRBuiltinLocationAttributesIncGen
17+
MLIRBuiltinTypeInterfacesIncGen
1618

1719
LINK_LIBS
1820
${dialect_libs}

clang/lib/FrontendTool/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ if(CLANG_ENABLE_CIR)
3030
include_directories(${CMAKE_BINARY_DIR}/tools/mlir/include)
3131
endif()
3232

33-
set(deps)
34-
3533
if(CLANG_ENABLE_STATIC_ANALYZER)
3634
list(APPEND link_libs
3735
clangStaticAnalyzerFrontend

0 commit comments

Comments
 (0)