wip
This commit is contained in:
26
SConstruct
26
SConstruct
@@ -70,10 +70,6 @@ AddOption('--minimal',
|
|||||||
default=os.path.islink(Dir('#rednose/').abspath), # minimal by default on release branch (where rednose is not a link)
|
default=os.path.islink(Dir('#rednose/').abspath), # minimal by default on release branch (where rednose is not a link)
|
||||||
help='the minimum build to run openpilot. no tests, tools, etc.')
|
help='the minimum build to run openpilot. no tests, tools, etc.')
|
||||||
|
|
||||||
AddOption('--nosr',
|
|
||||||
action='store_true',
|
|
||||||
help="don't build the screen recorder")
|
|
||||||
|
|
||||||
## Architecture name breakdown (arch)
|
## Architecture name breakdown (arch)
|
||||||
## - larch64: linux tici aarch64
|
## - larch64: linux tici aarch64
|
||||||
## - aarch64: linux pc aarch64
|
## - aarch64: linux pc aarch64
|
||||||
@@ -100,8 +96,6 @@ lenv = {
|
|||||||
rpath = lenv["LD_LIBRARY_PATH"].copy()
|
rpath = lenv["LD_LIBRARY_PATH"].copy()
|
||||||
|
|
||||||
if arch == "larch64":
|
if arch == "larch64":
|
||||||
lenv["LD_LIBRARY_PATH"] += ['/data/data/com.termux/files/usr/lib']
|
|
||||||
|
|
||||||
cpppath = [
|
cpppath = [
|
||||||
"#third_party/opencl/include",
|
"#third_party/opencl/include",
|
||||||
]
|
]
|
||||||
@@ -364,13 +358,6 @@ Export('common', 'gpucommon')
|
|||||||
# Build cereal and messaging
|
# Build cereal and messaging
|
||||||
SConscript(['cereal/SConscript'])
|
SConscript(['cereal/SConscript'])
|
||||||
|
|
||||||
cereal = [File('#cereal/libcereal.a')]
|
|
||||||
messaging = [File('#cereal/libmessaging.a')]
|
|
||||||
visionipc = [File('#cereal/libvisionipc.a')]
|
|
||||||
messaging_python = [File('#cereal/messaging/messaging_pyx.so')]
|
|
||||||
|
|
||||||
Export('cereal', 'messaging', 'messaging_python', 'visionipc')
|
|
||||||
|
|
||||||
# Build other submodules
|
# Build other submodules
|
||||||
SConscript([
|
SConscript([
|
||||||
'body/board/SConscript',
|
'body/board/SConscript',
|
||||||
@@ -397,17 +384,12 @@ if arch != "Darwin":
|
|||||||
# Build openpilot
|
# Build openpilot
|
||||||
SConscript(['third_party/SConscript'])
|
SConscript(['third_party/SConscript'])
|
||||||
|
|
||||||
SConscript(['selfdrive/boardd/SConscript'])
|
SConscript(['selfdrive/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'])
|
|
||||||
|
|
||||||
if arch in ['x86_64', 'aarch64', 'Darwin'] and Dir('#tools/cabana/').exists() and GetOption('extras'):
|
if Dir('#tools/cabana/').exists() and GetOption('extras'):
|
||||||
SConscript(['tools/replay/SConscript'])
|
SConscript(['tools/replay/SConscript'])
|
||||||
SConscript(['tools/cabana/SConscript'])
|
if arch != "larch64":
|
||||||
|
SConscript(['tools/cabana/SConscript'])
|
||||||
|
|
||||||
external_sconscript = GetOption('external_sconscript')
|
external_sconscript = GetOption('external_sconscript')
|
||||||
if external_sconscript:
|
if external_sconscript:
|
||||||
|
|||||||
2
update_and_launch.sh
Normal file
2
update_and_launch.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
bash update.sh
|
||||||
|
bash launch_openpilot.sh
|
||||||
Reference in New Issue
Block a user