Our build system requires:
- CMake (>=3.14.3)
- macOS 10.9 or later
- Clang compilers
- Python >= 3.8: Tested on Python 3.8.9.
- Protobuf compiler: Find a binary executable for OS x86_64 architecture here. Download and extract the zip file, then locate the binary executable
protoc
to the location where path is set. Please note that nnabla has python package dependency of protobuf, if theprotoc
binary you used is not compatible, please try another version ofprotoc
.
Once the requirements described above are set up, the rest of the procedure is exactly same as that in the build on Linux. See Build Python Package from Source.