File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
tools/ci_build/github/azure-pipelines/stages Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,20 @@ stages:
232232 set -e -x
233233 export _PYTHON_HOST_PLATFORM=macosx-${{variables.MACOSX_DEPLOYMENT_TARGET}}-universal2
234234 python3 -m pip install -r '$(Build.SourcesDirectory)/tools/ci_build/github/linux/docker/scripts/requirements.txt'
235- python3 $(Build.SourcesDirectory)/tools/ci_build/build.py --build_dir $(Build.BinariesDirectory) --use_coreml --skip_submodule_sync --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --use_binskim_compliant_compile_flags --config Release --build_wheel ${{ parameters.build_py_parameters }} --use_coreml --cmake_extra_defines CMAKE_OSX_ARCHITECTURES="arm64;x86_64" --update --build
235+ # Note: There is a build error when we set CMAKE_OSX_ARCHITECTURES="arm64;x86_64" and KleidiAI is enabled.
236+ # Disable KleidiAI as a workaround with --no_kleidiai.
237+ # TODO Re-enable KleidiAI once https://github.com/microsoft/onnxruntime/issues/24152 is fixed.
238+ python3 $(Build.SourcesDirectory)/tools/ci_build/build.py \
239+ --build_dir $(Build.BinariesDirectory) \
240+ --use_vcpkg --use_vcpkg_ms_internal_asset_cache \
241+ --use_binskim_compliant_compile_flags \
242+ --config Release \
243+ --build_wheel \
244+ --use_coreml \
245+ --no_kleidiai \
246+ ${{ parameters.build_py_parameters }} \
247+ --cmake_extra_defines CMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
248+ --update --skip_submodule_sync --build --parallel
236249 displayName: 'Command Line Script'
237250
238251 - script : |
You can’t perform that action at this time.
0 commit comments