mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-10-01 03:43:42 +08:00
Fixups for Mac, and a bunch for PC (#1654)
* fix mac nui * fix cereal * builds on mac without warnings * ui swap shouldn't be instant on pc * camerad builds on mac * modeld, and now everything, builds on mac * ui draws pictures on mac now * fix camerad shutdown * support ui looping on pc * python3 on that * SCNu64 should be cross platform * bump cereal and new apk * clean up Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
@@ -27,6 +27,15 @@ else:
|
||||
# tell runners to use it
|
||||
lenv['CFLAGS'].append("-DUSE_TF_MODEL")
|
||||
lenv['CXXFLAGS'].append("-DUSE_TF_MODEL")
|
||||
if arch == "Darwin":
|
||||
# fix OpenCL
|
||||
del libs[libs.index('OpenCL')]
|
||||
lenv['FRAMEWORKS'] = ['OpenCL']
|
||||
|
||||
# no SNPE on Mac
|
||||
del libs[libs.index('SNPE')]
|
||||
del libs[libs.index('symphony-cpu')]
|
||||
del common_src[common_src.index('runners/snpemodel.cc')]
|
||||
|
||||
common = lenv.Object(common_src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user