diff options
author | Andres-Salamanca <andrealebarbaritos@gmail.com> | 2025-07-02 10:28:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 10:28:38 -0500 |
commit | ce99db9d1b8ab609575893fc8026143d9b4765c9 (patch) | |
tree | d53a6ed44409a06fba8539d98967a9e5cde6be7a | |
parent | d04d2557255a55aa3df5f76cfe7ee7cef7bf99a4 (diff) | |
download | llvm-ce99db9d1b8ab609575893fc8026143d9b4765c9.zip llvm-ce99db9d1b8ab609575893fc8026143d9b4765c9.tar.gz llvm-ce99db9d1b8ab609575893fc8026143d9b4765c9.tar.bz2 |
[CIR] Add mlir-translate to CMake (#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.
-rw-r--r-- | clang/test/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 4f65682..52cd28d 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -114,6 +114,7 @@ if(CLANG_ENABLE_CIR) list(APPEND CLANG_TEST_DEPS cir-opt cir-translate + mlir-translate ) endif() |