mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Mac bazelrc build tip (#1418)
* Copy build tip from Linux to Mac instructions * Update build tip * Accept BSD 3 clause license
This commit is contained in:
parent
4e405f1cc3
commit
5d093e1142
2 changed files with 12 additions and 0 deletions
|
@ -86,6 +86,7 @@ Thore Tyborski <github.com/ThoreBor>
|
||||||
Alexander Giorev <alex.giorev@gmail.com>
|
Alexander Giorev <alex.giorev@gmail.com>
|
||||||
Ren Tatsumoto <tatsu@autistici.org>
|
Ren Tatsumoto <tatsu@autistici.org>
|
||||||
lolilolicon <lolilolicon@gmail.com>
|
lolilolicon <lolilolicon@gmail.com>
|
||||||
|
Gesa Stupperich <gesa.stupperich@gmail.com>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
11
docs/mac.md
11
docs/mac.md
|
@ -38,6 +38,17 @@ $ ln -sf /usr/local/bin/{python3.9,python}
|
||||||
This linking will not work if you're using the system Python from Big Sur,
|
This linking will not work if you're using the system Python from Big Sur,
|
||||||
which is one of the reasons why we recommend using Python from python.org.
|
which is one of the reasons why we recommend using Python from python.org.
|
||||||
|
|
||||||
|
But even so, if you still have a Python 2 binary on your system linked to
|
||||||
|
/usr/bin/python, it can happen that Bazel uses it and the build process
|
||||||
|
errors. In that case you might want to try forcing Bazel to use the
|
||||||
|
Python 3 binary by putting the following into a file called user.bazelrc at
|
||||||
|
the top of this repo (assuming /usr/local/bin/python links to your Python
|
||||||
|
3.9 binary).
|
||||||
|
|
||||||
|
```
|
||||||
|
build --action_env=PYO3_PYTHON=/usr/local/bin/python
|
||||||
|
```
|
||||||
|
|
||||||
## Running Anki during development
|
## Running Anki during development
|
||||||
|
|
||||||
From the top level of Anki's source folder:
|
From the top level of Anki's source folder:
|
||||||
|
|
Loading…
Reference in a new issue