summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-02 04:23:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-02 04:23:17 +0000
commit813638ad13f881518ec01919b12fa56afc74b903 (patch)
treef927e05b33fa95f71fe294c28a069556c989cbc9
parent80722bcc3fb6184385996d537700b3f6c79393ac (diff)
automatic import of onnxruntime
-rw-r--r--onnxruntime.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index f0912d3..1e984a6 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -29,7 +29,10 @@ ONNXRuntime npu
%prep
unzip -q -o ../SOURCES/v%{version}.zip -d ../BUILD
+
cmake --version
+ping github.com
+
%build
cd %{name}-%{version}
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