Model: Sync modeld with upstream arbitrary vision inputs (#1004)

* Prepare sunnypilot modeld refactor:

* This is needed to work with latest vision models from comma master.

* Add this for dev-c3-new
This commit is contained in:
James Vecellio-Grant
2025-06-19 08:24:20 -06:00
committed by GitHub
parent 6b9c63acbe
commit d62c3cdef9
6 changed files with 36 additions and 29 deletions

View File

@@ -13,7 +13,6 @@ common_src = [
"transforms/transform.cc",
]
# OpenCL is a framework on Mac
if arch == "Darwin":
frameworks += ['OpenCL']
@@ -29,4 +28,3 @@ for pathdef, fn in {'TRANSFORM': 'transforms/transform.cl', 'LOADYUV': 'transfor
cython_libs = envCython["LIBS"] + libs
commonmodel_lib = lenv.Library('commonmodel', common_src)
lenvCython.Program('models/commonmodel_pyx.so', 'models/commonmodel_pyx.pyx', LIBS=[commonmodel_lib, *cython_libs], FRAMEWORKS=frameworks)