[llvm] [orc-rt] Rename orc-executor to ogre (PR #209143)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 04:28:04 PDT 2026
https://github.com/lhames created https://github.com/llvm/llvm-project/pull/209143
The ORC Generic Runtime Environment (OGRE) will serve as our canonical "blank executor" program: A program that simply listens for an ORC controller connection, then runs whatever program is provided to it by the controller.
>From 12ac3e844553887001343010433c010a9abbf6c9 Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at gmail.com>
Date: Mon, 13 Jul 2026 21:14:35 +1000
Subject: [PATCH] [orc-rt] Rename orc-executor to ogre
The ORC Generic Runtime Environment (OGRE) will serve as our canonical
"blank executor" program: A program that simply listens for an ORC
controller connection, then runs whatever program is provided to it by
the controller.
---
orc-rt/test/CMakeLists.txt | 2 +-
orc-rt/test/regression/init.test | 2 +-
orc-rt/test/regression/lit.cfg.py | 2 +-
orc-rt/tools/CMakeLists.txt | 2 +-
orc-rt/tools/ogre/CMakeLists.txt | 2 ++
.../tools/{orc-executor/orc-executor.cpp => ogre/ogre.cpp} | 5 +++--
orc-rt/tools/orc-executor/CMakeLists.txt | 2 --
7 files changed, 9 insertions(+), 8 deletions(-)
create mode 100644 orc-rt/tools/ogre/CMakeLists.txt
rename orc-rt/tools/{orc-executor/orc-executor.cpp => ogre/ogre.cpp} (70%)
delete mode 100644 orc-rt/tools/orc-executor/CMakeLists.txt
diff --git a/orc-rt/test/CMakeLists.txt b/orc-rt/test/CMakeLists.txt
index 66c8f5bef2ca2..cfe268c4acc80 100644
--- a/orc-rt/test/CMakeLists.txt
+++ b/orc-rt/test/CMakeLists.txt
@@ -12,7 +12,7 @@ if (ORC_RT_LLVM_TOOLS_AVAILABLE)
add_subdirectory(tools)
list(APPEND ORC_RT_TEST_DEPS
- orc-executor
+ ogre
orc-rt-log-check
orc-rt-smoke-check
)
diff --git a/orc-rt/test/regression/init.test b/orc-rt/test/regression/init.test
index eaa666ef75d79..4bd17014ca979 100644
--- a/orc-rt/test/regression/init.test
+++ b/orc-rt/test/regression/init.test
@@ -1 +1 @@
-RUN: orc-executor %s %s
+RUN: ogre %s %s
diff --git a/orc-rt/test/regression/lit.cfg.py b/orc-rt/test/regression/lit.cfg.py
index 013d2c8699d63..f3b006f4834e9 100644
--- a/orc-rt/test/regression/lit.cfg.py
+++ b/orc-rt/test/regression/lit.cfg.py
@@ -22,7 +22,7 @@
llvm_config.with_environment(
"PATH",
- os.path.join(config.orc_rt_obj_root, "tools", "orc-executor"),
+ os.path.join(config.orc_rt_obj_root, "tools", "ogre"),
append_path=True)
llvm_config.with_environment("PATH", test_tools_dir, append_path=True)
diff --git a/orc-rt/tools/CMakeLists.txt b/orc-rt/tools/CMakeLists.txt
index fc78ea4131606..b7239567406a5 100644
--- a/orc-rt/tools/CMakeLists.txt
+++ b/orc-rt/tools/CMakeLists.txt
@@ -1 +1 @@
-add_subdirectory(orc-executor)
+add_subdirectory(ogre)
diff --git a/orc-rt/tools/ogre/CMakeLists.txt b/orc-rt/tools/ogre/CMakeLists.txt
new file mode 100644
index 0000000000000..6b42eb636ec96
--- /dev/null
+++ b/orc-rt/tools/ogre/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_executable(ogre ogre.cpp)
+target_link_libraries(ogre PRIVATE orc-rt-executor)
diff --git a/orc-rt/tools/orc-executor/orc-executor.cpp b/orc-rt/tools/ogre/ogre.cpp
similarity index 70%
rename from orc-rt/tools/orc-executor/orc-executor.cpp
rename to orc-rt/tools/ogre/ogre.cpp
index e83d28fa03d55..79c31a2b41123 100644
--- a/orc-rt/tools/orc-executor/orc-executor.cpp
+++ b/orc-rt/tools/ogre/ogre.cpp
@@ -1,4 +1,4 @@
-//===- orc-executor.cpp - Placeholder implementation for orc-rt ----------===//
+//===- ogre.cpp - ORC Generic Runtime Environment -------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,8 @@
//
//===----------------------------------------------------------------------===//
//
-// Placeholder implementation file for initial orc-rt checkin.
+// The ORC Generic Runtime Environment (OGRE) is intended as a canonical
+// "blank executor".
//
//===----------------------------------------------------------------------===//
diff --git a/orc-rt/tools/orc-executor/CMakeLists.txt b/orc-rt/tools/orc-executor/CMakeLists.txt
deleted file mode 100644
index b4a2292f58173..0000000000000
--- a/orc-rt/tools/orc-executor/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_executable(orc-executor orc-executor.cpp)
-target_link_libraries(orc-executor PRIVATE orc-rt-executor)
More information about the llvm-commits
mailing list