mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-21 01:02:48 +08:00
openpilot v0.7.6 release
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
Import('env', 'arch', 'messaging', 'common', 'gpucommon', 'visionipc')
|
||||
Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc')
|
||||
lenv = env.Clone()
|
||||
|
||||
libs = [messaging, common, 'OpenCL', 'SNPE', 'capnp', 'zmq', 'kj', 'yuv', gpucommon, visionipc]
|
||||
libs = [cereal, messaging, common, 'OpenCL', 'SNPE', 'capnp', 'zmq', 'kj', 'yuv', gpucommon, visionipc]
|
||||
|
||||
TEST_THNEED = False
|
||||
|
||||
common_src = [
|
||||
"models/commonmodel.c",
|
||||
@@ -11,6 +13,10 @@ common_src = [
|
||||
|
||||
if arch == "aarch64":
|
||||
libs += ['gsl', 'CB', 'gnustl_shared']
|
||||
if not TEST_THNEED:
|
||||
common_src += ["thneed/thneed.cc"]
|
||||
lenv['CFLAGS'].append("-DUSE_THNEED")
|
||||
lenv['CXXFLAGS'].append("-DUSE_THNEED")
|
||||
elif arch == "larch64":
|
||||
libs += ['gsl', 'CB', 'symphony-cpu', 'pthread']
|
||||
else:
|
||||
@@ -34,3 +40,8 @@ lenv.Program('_modeld', [
|
||||
"models/driving.cc",
|
||||
]+common, LIBS=libs)
|
||||
|
||||
if TEST_THNEED:
|
||||
lenv.Program('thneed/debug/_thneed', [
|
||||
"thneed/thneed.cc", "thneed/debug/test.cc"
|
||||
]+common, LIBS=libs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user