Skip to content

Commit ce99db9

Browse files
[CIR] Add mlir-translate to CMake (llvm#146608)
This PR adds the `mlir-translate` dependency to CIR. The following test was failing when running `ninja check-clang-cir`: ``` CIR/Lowering/stack-save-restore.cir line 2: mlir-translate: command not found ``` The failure occurred because `mlir-translate` was not being built as part of the CIR test dependencies. This PR ensures that the target is properly built so the test can run successfully.
1 parent d04d255 commit ce99db9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ if(CLANG_ENABLE_CIR)
114114
list(APPEND CLANG_TEST_DEPS
115115
cir-opt
116116
cir-translate
117+
mlir-translate
117118
)
118119
endif()
119120

0 commit comments

Comments
 (0)