Updated build instruction for macOS x86_64 (#17628)

This commit is contained in:
Ilya Lavrenov
2023-05-22 14:22:01 +04:00
committed by GitHub
parent added5c44e
commit 77bd72081f
2 changed files with 24 additions and 27 deletions

View File

@@ -9,7 +9,7 @@ There are two options how to use OpenVINO on Apple Silicon:
The software was validated on:
- macOS 11.x, 12.x, 13.x, arm64
## Software requirements
## Software requirements
- [brew](https://brew.sh) package manager to install additional dependencies. Use [install brew](https://brew.sh) guide to achieve this.
@@ -68,7 +68,7 @@ cmake -G "Ninja Multi-Config" -DENABLE_SYSTEM_PUGIXML=ON -DENABLE_SYSTEM_SNAPPY=
```sh
cmake --build . --config Release --parallel $(sysctl -n hw.ncpu)
```
All built binaries are located in `<openvino_source_dir>/bin/<arm64 | intel64>/Release/` and wheel packages are located in `<openvino_build_dir>/wheels`.
All built binaries are located in `<openvino_source_dir>/bin/<arm64 | intel64>/Release/` and wheel packages are located in `<openvino_build_dir>/wheels`.
5. (Optional install) Once you have built OpenVINO, you can install artifacts to a preferred location:
```sh
@@ -89,7 +89,7 @@ file /opt/homebrew/Cellar/tbb/2021.5.0_2/lib/libtbb.12.5.dylib
/opt/homebrew/Cellar/tbb/2021.5.0_2/lib/libtbb.12.5.dylib: Mach-O 64-bit dynamically linked shared library arm64
```
The same goes for other external dependencies like `libusb`. If you want to enable extra functionality like enable MYRIAD plugin build, you need to provide either x86_64 or universal2 `libusb` library. All other steps are the same as for usual compilation: build, install.
The same goes for other external dependencies like `pugixml`.
> **NOTE**: When building with `universal2` python libraries, wheel package is created with the `openvino-2022.3.0-000-cp311-cp311-macosx_12_0_universal2.whl` name and have a proper `universal2` tags, so they can *potentially* be used on both Apple Silicon and Intel CPU.