mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
scons: fix race condition with opendbc (#31621)
* fix race condition * add to release * fix for now * bump
This commit is contained in:
@@ -384,13 +384,7 @@ if arch != "Darwin":
|
||||
# Build openpilot
|
||||
SConscript(['third_party/SConscript'])
|
||||
|
||||
SConscript(['selfdrive/boardd/SConscript'])
|
||||
SConscript(['selfdrive/controls/lib/lateral_mpc_lib/SConscript'])
|
||||
SConscript(['selfdrive/controls/lib/longitudinal_mpc_lib/SConscript'])
|
||||
SConscript(['selfdrive/locationd/SConscript'])
|
||||
SConscript(['selfdrive/navd/SConscript'])
|
||||
SConscript(['selfdrive/modeld/SConscript'])
|
||||
SConscript(['selfdrive/ui/SConscript'])
|
||||
SConscript(['selfdrive/SConscript'])
|
||||
|
||||
if arch in ['x86_64', 'aarch64', 'Darwin'] and Dir('#tools/cabana/').exists() and GetOption('extras'):
|
||||
SConscript(['tools/replay/SConscript'])
|
||||
|
||||
2
opendbc
2
opendbc
Submodule opendbc updated: 0ac21652f2...5f096db742
@@ -60,6 +60,8 @@ system/logmessaged.py
|
||||
system/micd.py
|
||||
system/version.py
|
||||
|
||||
selfdrive/SConscript
|
||||
|
||||
selfdrive/athena/__init__.py
|
||||
selfdrive/athena/athenad.py
|
||||
selfdrive/athena/manage_athenad.py
|
||||
|
||||
7
selfdrive/SConscript
Normal file
7
selfdrive/SConscript
Normal file
@@ -0,0 +1,7 @@
|
||||
SConscript(['boardd/SConscript'])
|
||||
SConscript(['controls/lib/lateral_mpc_lib/SConscript'])
|
||||
SConscript(['controls/lib/longitudinal_mpc_lib/SConscript'])
|
||||
SConscript(['locationd/SConscript'])
|
||||
SConscript(['navd/SConscript'])
|
||||
SConscript(['modeld/SConscript'])
|
||||
SConscript(['ui/SConscript'])
|
||||
@@ -1,4 +1,4 @@
|
||||
Import('env', 'envCython', 'arch')
|
||||
Import('env', 'envCython', 'arch', 'messaging_python', 'common_python', 'opendbc_python')
|
||||
|
||||
gen = "c_generated_code"
|
||||
|
||||
@@ -60,6 +60,7 @@ lenv.Clean(generated_files, Dir(gen))
|
||||
generated_lat = lenv.Command(generated_files,
|
||||
source_list,
|
||||
f"cd {Dir('.').abspath} && python3 lat_mpc.py")
|
||||
lenv.Depends(generated_lat, [messaging_python, common_python, opendbc_python])
|
||||
|
||||
lenv["CFLAGS"].append("-DACADOS_WITH_QPOASES")
|
||||
lenv["CXXFLAGS"].append("-DACADOS_WITH_QPOASES")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Import('env', 'envCython', 'arch', 'messaging_python', 'common_python')
|
||||
Import('env', 'envCython', 'arch', 'messaging_python', 'common_python', 'opendbc_python')
|
||||
|
||||
gen = "c_generated_code"
|
||||
|
||||
@@ -66,7 +66,7 @@ lenv.Clean(generated_files, Dir(gen))
|
||||
generated_long = lenv.Command(generated_files,
|
||||
source_list,
|
||||
f"cd {Dir('.').abspath} && python3 long_mpc.py")
|
||||
lenv.Depends(generated_long, [messaging_python, common_python])
|
||||
lenv.Depends(generated_long, [messaging_python, common_python, opendbc_python])
|
||||
|
||||
lenv["CFLAGS"].append("-DACADOS_WITH_QPOASES")
|
||||
lenv["CXXFLAGS"].append("-DACADOS_WITH_QPOASES")
|
||||
|
||||
Reference in New Issue
Block a user