summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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