Skip to content

Commit

Permalink
builds on m1 (commaai#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored May 2, 2021
1 parent 2b28609 commit 90ce0e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -45,6 +50,7 @@ env = Environment(
CFLAGS="-std=gnu11",
CXXFLAGS="-std=c++1z",
CPPPATH=cpppath,
LIBPATH=libpath,
CYTHONCFILESUFFIX=".cpp",
tools=["default", "cython"]
)
Expand Down

0 comments on commit 90ce0e9

Please sign in to comment.