build command to include 'galaxy' in the target list

This commit is contained in:
Prabhaav Pillai
2026-10-04 16:54:01 -04:00
parent d861b2a3a5
commit ae720a05b7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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])
+1 -1
View File
@@ -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'):