Skip to content

Apple M1 OpenVINO Compile Instruction

Raymond Lo edited this page Aug 28, 2021 · 1 revision

You can have this sample run on Apple M1 with Rosetta 2. We have to ensure "AVX513F" is disabled as it won't be supported.

cmake \                                                             
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${OPENVINO_BASEDIR}/openvino_dist" \
-DPYTHON_EXECUTABLE=$(which python3) \
-DENABLE_MYRIAD=OFF \
-DENABLE_VPU=OFF \
-DENABLE_PYTHON=ON \
-DNGRAPH_PYTHON_BUILD_ENABLE=ON -DENABLE_AVX512F=OFF \
-DPYTHON_EXECUTABLE=/usr/local/Cellar/[email protected]/3.7.11/Frameworks/Python.framework/Versions/3.7/bin/python3.7m \
-DPYTHON_LIBRARY=/usr/local/Cellar/[email protected]/3.7.11/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib \
-DPYTHON_INCLUDE_DIR=/usr/local/Cellar/[email protected]/3.7.11/Frameworks/Python.framework/Versions/3.7/include/python3.7m ..
Clone this wiki locally