[Mlir-commits] [mlir] [mlir] Strip spaces from `host_cxx`/`host_cc` in integration tests (PR #128542)
Ivan Butygin
llvmlistbot at llvm.org
Mon Feb 24 09:48:37 PST 2025
https://github.com/Hardcode84 created https://github.com/llvm/llvm-project/pull/128542
Continuation of https://github.com/llvm/llvm-project/pull/128439
Some builders have spaces at the end of the `host_cc` path, which now breaks.
>From 562f5ec57bfdf1f46d7c01142d9f742a8d5e70ec Mon Sep 17 00:00:00 2001
From: Ivan Butygin <ivan.butygin at gmail.com>
Date: Mon, 24 Feb 2025 18:45:39 +0100
Subject: [PATCH] [mlir] Strip spaces from host_cxx/host_cc
Continuation of https://github.com/llvm/llvm-project/pull/128439
Some builders have spaces at the end of the host_cc path, which now breaks.
---
mlir/test/lit.cfg.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlir/test/lit.cfg.py b/mlir/test/lit.cfg.py
index 32b2f8b53d5fa..6222acfafdcdd 100644
--- a/mlir/test/lit.cfg.py
+++ b/mlir/test/lit.cfg.py
@@ -55,8 +55,8 @@
config.substitutions.append(("%shlibext", config.llvm_shlib_ext))
config.substitutions.append(("%llvm_src_root", config.llvm_src_root))
config.substitutions.append(("%mlir_src_root", config.mlir_src_root))
-config.substitutions.append(("%host_cxx", config.host_cxx))
-config.substitutions.append(("%host_cc", config.host_cc))
+config.substitutions.append(("%host_cxx", config.host_cxx.strip()))
+config.substitutions.append(("%host_cc", config.host_cc.strip()))
# Searches for a runtime library with the given name and returns the found path.
More information about the Mlir-commits
mailing list