summaryrefslogtreecommitdiff
path: root/onnxruntime.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-09 04:07:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-09 04:07:01 +0000
commit093738b66514afe01abfb7c220b5b33bbeda4bc7 (patch)
treeeda86ba76aea952fbc92d47ebfc673e33fae438f /onnxruntime.spec
parent477be5137a6e8b102e04ad7e0ec688f870779334 (diff)
automatic import of onnxruntime
Diffstat (limited to 'onnxruntime.spec')
-rw-r--r--onnxruntime.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index eb62ac2..531c78d 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -32,11 +32,11 @@ ONNXRuntime npu
unzip -q -o ../SOURCES/main.zip -d ../BUILD
%build
-#ping https://github.com
-#ping https://github.com/abseil/abseil-cpp/archive/refs/tags/20220623.1.zip
-
#cd %{name}-%{version}
cd %{name}-main
+
+git clone https://gitee.com/LeaSwen/onnxruntime1.15.1_dep.git
+
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
%if %{with_npu}