summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 09:58:02 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 09:58:02 +0000
commita5cde5b4c60f741cf59cb766f90f75bb38475725 (patch)
tree90dc54652c8161b118bc77db10c679e8d852f1cc
parent7bd3621ffbafea70b9d808351bbff5a5360b079c (diff)
automatic import of onnxruntime
-rw-r--r--python-onnxruntime.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/python-onnxruntime.spec b/python-onnxruntime.spec
index ef44233..261f906 100644
--- a/python-onnxruntime.spec
+++ b/python-onnxruntime.spec
@@ -66,7 +66,14 @@ tar -xzf %{SOURCE2} --directory=.
python3 tools/ci_build/replace_urls_in_deps.py --new_dir %{_builddir}/%{pkg_name}-%{pkg_version}/deps
%build
-bash build.sh --build_dir build --config RelWithDebInfo --skip_tests --enable_pybind --build_wheel --build_shared_lib --skip_submodule_sync
+bash build.sh --build_dir build \
+ --config RelWithDebInfo \
+ --parallel \
+ --skip_tests \
+ --enable_pybind \
+ --build_wheel \
+ --build_shared_lib \
+ --skip_submodule_sync
%pyproject_build