OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GHA][MAC] Align cmake options (#29749)
Mikhail Ryzhovaca44edba343
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.ymlindex d4cd40cb900..55dc12cc888 100644--- a/.github/workflows/mac.yml+++ b/.github/workflows/mac.yml@@ -167,13 +167,11 @@ jobs:run: |cmake \-G "${{ env.CMAKE_GENERATOR }}" \- -DENABLE_CPPLINT=OFF \- -DENABLE_NCC_STYLE=OFF \-DENABLE_TESTS=ON \+ -DENABLE_PYTHON=OFF \-DENABLE_WHEEL=OFF \- -DENABLE_AVX512F=OFF \- -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \-DENABLE_STRICT_DEPENDENCIES=OFF \+ -DENABLE_CONFORMANCE_PGQL=ON \-DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CMAKE_CXX_COMPILER_LAUNCHER }} \-DCMAKE_C_COMPILER_LAUNCHER=${{ env.CMAKE_C_COMPILER_LAUNCHER }} \-S ${{ env.OPENVINO_REPO }} \@@ -192,10 +190,6 @@ jobs:cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.DEVELOPER_PACKAGE_DIR }} --component developer_packageworking-directory: ${{ env.BUILD_DIR }}- - name: Pack openvino_package- run: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_package.tar.gz- working-directory: ${{ env.INSTALL_DIR }}-- name: Pack openvino_developer_packagerun: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/developer_package.tar.gzworking-directory: ${{ env.DEVELOPER_PACKAGE_DIR }}/developer_package@@ -226,17 +220,29 @@ jobs:should-setup-pip-paths: 'false'self-hosted-runner: 'false'- - name: Build additional Python wheels+ - name: Setup Python 3.13+ uses: ./openvino/.github/actions/setup_python+ with:+ version: "3.13"+ should-setup-pip-paths: 'false'+ self-hosted-runner: 'false'++ - name: Build Python API and wheelsrun: |- for py_version in "3.9" "3.10" "3.11" "3.12"+ for py_version in "3.9" "3.10" "3.11" "3.12" "3.13"dopython_exec_path=$(python$py_version -c "import sys; print(sys.executable)")$python_exec_path -m pip install -r ${{ env.OPENVINO_REPO }}/src/bindings/python/wheel/requirements-dev.txt- cmake -DPython3_EXECUTABLE=$python_exec_path -DENABLE_WHEEL=ON -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B ${{ github.workspace }}/py$py_version- cmake --build ${{ github.workspace }}/py$py_version --parallel+ cmake -DPython3_EXECUTABLE=$python_exec_path -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -DOpenVINODeveloperPackage_DIR=${{ env.BUILD_DIR }} -S ${{ env.OPENVINO_REPO }}/src/bindings/python -B ${{ github.workspace }}/py$py_version+ cmake --build ${{ github.workspace }}/py$py_version --parallel $(nproc)+ cmake --install ${{ github.workspace }}/py$py_version --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }} --component pyopenvino_python$py_versioncmake --install ${{ github.workspace }}/py$py_version --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_WHEELS_DIR }} --component python_wheelsdone++ - name: Pack openvino_package+ run: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_package.tar.gz+ working-directory: ${{ env.INSTALL_DIR }}# Setup Python 3.11 as the default one- name: Setup Python ${{ env.PYTHON_VERSION }}