[llvm] [orc-rt] Fixing linux tests to enable CI (PR #226766)
Jared Wyles via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 27 00:47:54 PDT 2026
https://github.com/jaredwy created https://github.com/llvm/llvm-project/pull/226766
None
>From 61706abdc98ad463c4b3b8f185772ab9b772ee21 Mon Sep 17 00:00:00 2001
From: Jared Wyles <jared.wyles at gmail.com>
Date: Sun, 27 Sep 2026 17:46:36 +1000
Subject: [PATCH] [orc-rt] Fixing linux tests to enable CI
---
.../regression/jit-free-foundations/check-rt-process-info.test | 2 +-
orc-rt/test/regression/lit.cfg.py | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test b/orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test
index fc56397f8690b9..d8a07424045f56 100644
--- a/orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test
+++ b/orc-rt/test/regression/jit-free-foundations/check-rt-process-info.test
@@ -1,7 +1,7 @@
# RUN: orc-rt-process-info-check --print-triple --print-page-size \
# RUN: --print-cpu-features \
# RUN: | FileCheck %s -DARCH=%host-arch -DOS=%host-os \
-# RUN: -DVERSION=%macos-product-version -DPAGESIZE=%host-page-size
+# RUN: -DVERSION=%macos-product-version -DPAGESIZE=%host-page-size
# CHECK: [[ARCH]]-{{.*}}-[[OS]][[VERSION]]
# CHECK-NEXT: [[PAGESIZE]]
diff --git a/orc-rt/test/regression/lit.cfg.py b/orc-rt/test/regression/lit.cfg.py
index 99a594e6b37ad7..f06dfdb770829b 100644
--- a/orc-rt/test/regression/lit.cfg.py
+++ b/orc-rt/test/regression/lit.cfg.py
@@ -170,6 +170,9 @@ def add_logging_features():
if platform.system() == "Darwin":
config.substitutions.append(("%macos-product-version", platform.mac_ver()[0]))
+else:
+ config.substitutions.append(("%macos-product-version", ""))
+
config.substitutions.append(("%target_triple", config.target_triple))
# The architecture the runtime was built for, so tests can check the triple it
More information about the llvm-commits
mailing list