[Mlir-commits] [mlir] [mlir] Fix tests not to depend `llvm-strings` in standalone build (PR #185187)
Michał Górny
llvmlistbot at llvm.org
Sat Mar 7 04:59:40 PST 2026
https://github.com/mgorny created https://github.com/llvm/llvm-project/pull/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.
>From 8a7d37496a50c50a1b98a5850be108937515f2bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny at gentoo.org>
Date: Sat, 7 Mar 2026 13:58:18 +0100
Subject: [PATCH] [mlir] Fix tests not to depend `llvm-strings` in standalone
build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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>
---
mlir/test/CMakeLists.txt | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
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