summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-18 13:50:02 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-18 13:50:02 +0000
commit17a0c7cf59d10f483fe354f2fd65dfda4a48eadc (patch)
treef6ad69404c03e6aee059c954dc5f250f372d6d6e
parent353cc93b2409d5747ba9f0ee97f946ec13418a2e (diff)
automatic import of onnxruntime
-rw-r--r--onnxruntime.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index b33b1bb..95df3cd 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -75,8 +75,8 @@ cd %{name}-main
-git init . && bash build.sh --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --allow_running_as_root --skip_tests --build_wheel --build_dir build/CPU
-
+#git init . && bash build.sh --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --allow_running_as_root --skip_tests --build_wheel --build_dir build/CPU
+bash build.sh --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --allow_running_as_root --skip_tests --build_wheel --build_dir build/CPU
%if %{with_npu}
export CPLUS_INCLUDE_PATH=/usr/local/Ascend/ascend-toolkit/latest/fwkacllib/include:$CPLUS_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=/usr/local/lib64/python3.9/site-packages/numpy/core/include:$CPLUS_INCLUDE_PATH