Skip to content

Commit 562f5ec

Browse files
committed
[mlir] Strip spaces from host_cxx/host_cc
Continuation of #128439 Some builders have spaces at the end of the host_cc path, which now breaks.
1 parent 1794dfb commit 562f5ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/lit.cfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
config.substitutions.append(("%shlibext", config.llvm_shlib_ext))
5656
config.substitutions.append(("%llvm_src_root", config.llvm_src_root))
5757
config.substitutions.append(("%mlir_src_root", config.mlir_src_root))
58-
config.substitutions.append(("%host_cxx", config.host_cxx))
59-
config.substitutions.append(("%host_cc", config.host_cc))
58+
config.substitutions.append(("%host_cxx", config.host_cxx.strip()))
59+
config.substitutions.append(("%host_cc", config.host_cc.strip()))
6060

6161

6262
# Searches for a runtime library with the given name and returns the found path.

0 commit comments

Comments
 (0)