mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 18:13:55 +08:00
* switch to c++17
* more 17
* 1z
* use std::clamp
* Fix types in clamp
* bump submodules
* bump laika
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 339d1967cb
23 lines
629 B
Python
23 lines
629 B
Python
from distutils.core import Extension, setup
|
|
from Cython.Build import cythonize
|
|
|
|
from common.cython_hacks import BuildExtWithoutPlatformSuffix
|
|
|
|
libraries = ['can_list_to_can_capnp', 'capnp', 'kj']
|
|
|
|
setup(name='Boardd API Implementation',
|
|
cmdclass={'build_ext': BuildExtWithoutPlatformSuffix},
|
|
ext_modules=cythonize(
|
|
Extension(
|
|
"boardd_api_impl",
|
|
libraries=libraries,
|
|
library_dirs=[
|
|
'./',
|
|
],
|
|
sources=['boardd_api_impl.pyx'],
|
|
language="c++",
|
|
extra_compile_args=["-std=c++1z", "-Wno-nullability-completeness"],
|
|
)
|
|
)
|
|
)
|