From ae720a05b75fbe53add8593f7beccd5e8201bf83 Mon Sep 17 00:00:00 2001 From: Prabhaav Pillai Date: Sun, 4 Oct 2026 16:54:01 -0400 Subject: [PATCH] build command to include 'galaxy' in the target list --- tools/ci/tests/test_dev_runtime.py | 4 ++-- tools/host_runtime.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci/tests/test_dev_runtime.py b/tools/ci/tests/test_dev_runtime.py index 4be9b917d0..0c6a8fbca2 100644 --- a/tools/ci/tests/test_dev_runtime.py +++ b/tools/ci/tests/test_dev_runtime.py @@ -68,9 +68,9 @@ class TestDeveloperRuntime(unittest.TestCase): self.runtime.sync() self.assertEqual(native.read_bytes(), b'host binary') - def test_ui_build_prepares_mpc_import_dependency(self): + def test_command_build_prepares_mpc_import_dependency(self): solver = 'openpilot/selfdrive/controls/lib/longitudinal_mpc_lib/c_generated_code/acados_ocp_solver_pyx.so' - for command in ('c3', 'c4', 'onroad'): + for command in ('c3', 'c4', 'onroad', 'galaxy', 'python', 'pytest', 'shell'): with self.subTest(command=command), patch('tools.host_runtime.run') as build: self.runtime.build(command, 4) self.assertIn(solver, build.call_args.args[0]) diff --git a/tools/host_runtime.py b/tools/host_runtime.py index 047a6c26e0..5aad133df1 100755 --- a/tools/host_runtime.py +++ b/tools/host_runtime.py @@ -240,7 +240,7 @@ class HostRuntime: def build(self, command, jobs): params = 'openpilot/common/libparams_c' + ('.dylib' if self.system == 'Darwin' else '.so') targets = [params, 'msgq_repo/msgq/ipc_pyx.so', 'msgq_repo/msgq/visionipc/visionipc_pyx.so'] - if command in ('c3', 'c4', 'onroad', 'python', 'pytest', 'shell'): + if command in ('c3', 'c4', 'onroad', 'galaxy', 'python', 'pytest', 'shell'): targets += ['rednose_repo/rednose/helpers/ekf_sym_pyx.so', 'openpilot/selfdrive/locationd', 'openpilot/selfdrive/controls/lib/longitudinal_mpc_lib/c_generated_code/acados_ocp_solver_pyx.so'] if command in ('onroad', 'replay', 'cabana'):