Files
dragonpilot/common/SConscript

15 lines
674 B
Python
Raw Normal View History

2020-08-13 00:37:05 +00:00
Import('env', 'cython_dependencies')
2019-12-13 13:03:08 -08:00
2020-08-13 00:37:05 +00:00
# Build cython clock module
env.Command(['common_pyx.so', 'clock.cpp'],
cython_dependencies + ['common_pyx_setup.py', 'clock.pyx'],
"cd common && python3 common_pyx_setup.py build_ext --inplace")
2020-10-21 06:33:00 -07:00
# Build cython params module
env.Command(['params_pyx.so', 'params_pyx.cpp'],
cython_dependencies + [
'params_pyx_setup.py', 'params_pyx.pyx', 'params_pxd.pxd',
'#selfdrive/common/params.cc', '#selfdrive/common/params.h',
'#selfdrive/common/util.c', '#selfdrive/common/util.h'],
"cd common && python3 params_pyx_setup.py build_ext --inplace")