mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Disable openmp for the nocontribops pipeline. (#2888)
This commit is contained in:
parent
fc51473b09
commit
49725f896c
1 changed files with 7 additions and 1 deletions
|
|
@ -42,7 +42,13 @@ elif [ $BUILD_OS = "yocto" ]; then
|
|||
|
||||
make -j$(nproc)
|
||||
else
|
||||
COMMON_BUILD_ARGS="--skip_submodule_sync --enable_onnx_tests --parallel --build_shared_lib --use_openmp --cmake_path /usr/bin/cmake --ctest_path /usr/bin/ctest"
|
||||
COMMON_BUILD_ARGS="--skip_submodule_sync --enable_onnx_tests --parallel --build_shared_lib --cmake_path /usr/bin/cmake --ctest_path /usr/bin/ctest"
|
||||
# For the nocontribops pipeline we don't need openmp as it is used by the Edge browser team and
|
||||
# (going forward) the vscode team. Both these teams don't want their users to install any external dependency to use
|
||||
# ORT.
|
||||
if [[ $BUILD_EXTR_PAR != *--disable_contrib_ops* ]]; then
|
||||
COMMON_BUILD_ARGS="${COMMON_BUILD_ARGS} --use_openmp "
|
||||
fi
|
||||
if [ $BUILD_OS = "manylinux2010" ]; then
|
||||
# FindPython3 does not work on manylinux2010 image, define things manually
|
||||
# ask python where to find includes
|
||||
|
|
|
|||
Loading…
Reference in a new issue