mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 17:23:51 +08:00
dragonpilot for 0.8.9-3
This commit is contained in:
@@ -58,6 +58,12 @@ else:
|
||||
del libs[libs.index('symphony-cpu')]
|
||||
del common_src[common_src.index('runners/snpemodel.cc')]
|
||||
|
||||
elif arch == "jarch64":
|
||||
# no SNPE on arm64 linux
|
||||
del libs[libs.index('SNPE')]
|
||||
del libs[libs.index('symphony-cpu')]
|
||||
del common_src[common_src.index('runners/snpemodel.cc')]
|
||||
|
||||
common_model = lenv.Object(common_src)
|
||||
|
||||
# build thneed model
|
||||
@@ -69,10 +75,11 @@ if use_thneed and arch in ("aarch64", "larch64"):
|
||||
cenv = Environment(ENV={'LD_LIBRARY_PATH': f"{lib_paths}:{lenv['ENV']['LD_LIBRARY_PATH']}"})
|
||||
cenv.Command("../../models/supercombo.thneed", ["../../models/supercombo.dlc", compiler], cmd)
|
||||
|
||||
lenv.Program('_dmonitoringmodeld', [
|
||||
"dmonitoringmodeld.cc",
|
||||
"models/dmonitoring.cc",
|
||||
]+common_model, LIBS=libs)
|
||||
if arch != "jarch64":
|
||||
lenv.Program('_dmonitoringmodeld', [
|
||||
"dmonitoringmodeld.cc",
|
||||
"models/dmonitoring.cc",
|
||||
]+common_model, LIBS=libs)
|
||||
|
||||
lenv.Program('_modeld', [
|
||||
"modeld.cc",
|
||||
|
||||
Reference in New Issue
Block a user