mirror of https://github.com/commaai/cereal.git
builds on m1 (#137)
This commit is contained in:
parent
2b28609003
commit
90ce0e954f
|
@ -14,9 +14,14 @@ cpppath = [
|
|||
cereal_dir,
|
||||
messaging_dir,
|
||||
'/usr/lib/include',
|
||||
'/opt/homebrew/include',
|
||||
sysconfig.get_paths()['include'],
|
||||
]
|
||||
|
||||
libpath = [
|
||||
'/opt/homebrew/lib',
|
||||
]
|
||||
|
||||
AddOption('--test',
|
||||
action='store_true',
|
||||
help='build test files')
|
||||
|
@ -45,6 +50,7 @@ env = Environment(
|
|||
CFLAGS="-std=gnu11",
|
||||
CXXFLAGS="-std=c++1z",
|
||||
CPPPATH=cpppath,
|
||||
LIBPATH=libpath,
|
||||
CYTHONCFILESUFFIX=".cpp",
|
||||
tools=["default", "cython"]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue