[Mlir-commits] [mlir] 859af27 - [mlir] Fix tests not to depend `llvm-strings` in standalone build (#185187)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 10 06:58:15 PDT 2026
Author: Michał Górny
Date: 2026-03-10T14:58:08+01:00
New Revision: 859af271ee26cdcbc44fa0e4872448863c60f228
URL: https://github.com/llvm/llvm-project/commit/859af271ee26cdcbc44fa0e4872448863c60f228
DIFF: https://github.com/llvm/llvm-project/commit/859af271ee26cdcbc44fa0e4872448863c60f228.diff
LOG: [mlir] Fix tests not to depend `llvm-strings` in standalone build (#185187)
Move the `llvm-strings` test dependency into the non-standalone test
dependency block, to fix standalone builds after #182846. While at it,
reformat the block to make it more visible.
Signed-off-by: Michał Górny <mgorny at gentoo.org>
Added:
Modified:
mlir/test/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt
index c8e4876058e28..a21451f91d0ca 100644
--- a/mlir/test/CMakeLists.txt
+++ b/mlir/test/CMakeLists.txt
@@ -102,7 +102,6 @@ configure_lit_site_cfg(
)
set(MLIR_TEST_DEPENDS
- llvm-strings
mlir-capi-ir-test
mlir-capi-irdl-test
mlir-capi-llvm-test
@@ -126,7 +125,14 @@ set(MLIR_TEST_DEPENDS
tblgen-to-irdl
)
if(NOT MLIR_STANDALONE_BUILD)
- list(APPEND MLIR_TEST_DEPENDS FileCheck count not split-file yaml2obj)
+ list(APPEND MLIR_TEST_DEPENDS
+ FileCheck
+ count
+ llvm-strings
+ not
+ split-file
+ yaml2obj
+ )
endif()
# Examples/standalone/test.toy (vis-a-vis the standalone example) depends on these.
if(LLVM_INCLUDE_EXAMPLES)
More information about the Mlir-commits
mailing list