[llvm] [orc-rt] enabling CI (PR #226088)

Jared Wyles via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 26 03:47:21 PDT 2026


https://github.com/jaredwy updated https://github.com/llvm/llvm-project/pull/226088

>From 62298a3ecac8d40451def3dc5bd589de2f97add5 Mon Sep 17 00:00:00 2001
From: Jared Wyles <jared.wyles at gmail.com>
Date: Thu, 24 Sep 2026 18:48:59 +1000
Subject: [PATCH] [orc-rt] enabling CI

---
 .ci/compute_projects.py           |  4 ++++
 .ci/compute_projects_test.py      | 26 ++++++++++++++++++--------
 orc-rt/test/regression/lit.cfg.py |  3 +--
 3 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 936397b779eb0..0f2aded7532cf 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -26,6 +26,7 @@
     "cross-project-tests": {"clang", "lldb", "lld"},
     "libc": {"clang", "lld"},
     "openmp": {"clang", "lld"},
+    "orc-rt": {"llvm"},
     "flang": {"llvm", "clang"},
     "flang-rt": {"flang"},
     "lldb": {"llvm", "clang"},
@@ -55,6 +56,7 @@
     "libclc": "check-libclc",
     "mlir": "check-mlir",
     "openmp": "openmp",  # Run only build in pre-merge
+    "orc-rt": "check-orc-rt",
     "polly": "check-polly",
     "lit": "check-lit",
     "offload": "offload",  # Run only build in pre-merge
@@ -70,6 +72,7 @@
     "libclc",
     "openmp",
     "offload",
+    "orc-rt",
 }
 
 # This mapping describes the additional projects that should be tested when a
@@ -125,6 +128,7 @@
     "flang": {"flang-rt"},
     "flang-rt": {"flang-rt"},
     "openmp": {"openmp"},
+    "orc-rt": {"orc-rt"},
     "offload": {"offload", "openmp"},
     ".ci": {
         runtime_name
diff --git a/.ci/compute_projects_test.py b/.ci/compute_projects_test.py
index 0dc01964201c6..4f2bd114c708b 100644
--- a/.ci/compute_projects_test.py
+++ b/.ci/compute_projects_test.py
@@ -204,6 +204,16 @@ def test_compiler_rt(self):
             "OFF",
         )
 
+    def test_orc_rt(self):
+        env_variables = compute_projects.get_env_variables(
+            ["orc-rt/CMakeLists.txt"], "Linux"
+        )
+        self.assertEqual(env_variables["projects_to_build"], "llvm")
+        self.assertEqual(env_variables["project_check_targets"], "")
+        self.assertEqual(env_variables["runtimes_to_build"], "orc-rt")
+        self.assertEqual(env_variables["runtimes_check_targets"], "check-orc-rt")
+        self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")
+
     def test_cir(self):
         env_variables = compute_projects.get_env_variables(
             ["clang/lib/CIR/CMakeLists.txt"], "Linux"
@@ -359,11 +369,11 @@ def test_ci(self):
         )
         self.assertEqual(
             env_variables["runtimes_to_build"],
-            "compiler-rt;flang-rt;libc;libcxx;libcxxabi;libunwind;offload;openmp",
+            "compiler-rt;flang-rt;libc;libcxx;libcxxabi;libunwind;offload;openmp;orc-rt",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets"],
-            "check-compiler-rt check-flang-rt check-libc check-libclc offload openmp",
+            "check-compiler-rt check-flang-rt check-libc check-libclc check-orc-rt offload openmp",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets_needs_reconfig"],
@@ -384,11 +394,11 @@ def test_windows_ci(self):
         )
         self.assertEqual(
             env_variables["runtimes_to_build"],
-            "compiler-rt",
+            "compiler-rt;orc-rt",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets"],
-            "check-compiler-rt check-libclc",
+            "check-compiler-rt check-libclc check-orc-rt",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets_needs_reconfig"],
@@ -433,11 +443,11 @@ def test_premerge_workflow(self):
         )
         self.assertEqual(
             env_variables["runtimes_to_build"],
-            "compiler-rt;flang-rt;libc;libcxx;libcxxabi;libunwind;offload;openmp",
+            "compiler-rt;flang-rt;libc;libcxx;libcxxabi;libunwind;offload;openmp;orc-rt",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets"],
-            "check-compiler-rt check-flang-rt check-libc check-libclc offload openmp",
+            "check-compiler-rt check-flang-rt check-libc check-libclc check-orc-rt offload openmp",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets_needs_reconfig"],
@@ -468,11 +478,11 @@ def test_third_party_benchmark(self):
         )
         self.assertEqual(
             env_variables["runtimes_to_build"],
-            "compiler-rt;flang-rt;libc;libcxx;libcxxabi;libunwind;offload;openmp",
+            "compiler-rt;flang-rt;libc;libcxx;libcxxabi;libunwind;offload;openmp;orc-rt",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets"],
-            "check-compiler-rt check-flang-rt check-libc check-libclc offload openmp",
+            "check-compiler-rt check-flang-rt check-libc check-libclc check-orc-rt offload openmp",
         )
         self.assertEqual(
             env_variables["runtimes_check_targets_needs_reconfig"],
diff --git a/orc-rt/test/regression/lit.cfg.py b/orc-rt/test/regression/lit.cfg.py
index 8c010d4fe2dc8..e63a6b5598381 100644
--- a/orc-rt/test/regression/lit.cfg.py
+++ b/orc-rt/test/regression/lit.cfg.py
@@ -83,13 +83,12 @@ def add_logging_features():
             "the os_log delivery tests will be skipped"
         )
 
+
 # Give logging tests a deterministic baseline: clear any logging environment
 # inherited from the developer's shell. Tests opt in with `env ORC_RT_LOG=...`.
 for var in ("ORC_RT_LOG", "ORC_RT_LOG_OUTPUT"):
     config.environment.pop(var, None)
 
-if platform.system() == "Darwin":
-    config.substitutions.append(("%macos-product-version", platform.mac_ver()[0]))
 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