Skip to content

Commit

Permalink
doc: Add M1 mac + homebrew fix
Browse files Browse the repository at this point in the history
The paths for this platform seem to be slightly different, so mention
how they must be set.
  • Loading branch information
cdecker committed Oct 22, 2021
1 parent 0ba1bc3 commit 0f0a77e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ If you need SQLite (or get a SQLite mismatch build error):
$ export LDFLAGS="-L/usr/local/opt/sqlite/lib"
$ export CPPFLAGS="-I/usr/local/opt/sqlite/include"

Some library paths are different when using `homebrew` with M1 macs, therefore the following two variables need to be set for M1 machines

$ export CPATH=/opt/homebrew/include
$ export LIBRARY_PATH=/opt/homebrew/lib

If you need Python 3.x for mako (or get a mako build error):

$ brew install pyenv
Expand Down

0 comments on commit 0f0a77e

Please sign in to comment.