diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-16 15:21:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-16 15:21:46 +0000 |
commit | d7b357a794eb33a4a6814276dd0fb6dcaa1c08a1 (patch) | |
tree | ccde389fe0631b57d3d0385bc59e62d860b20378 | |
parent | e7a24c0fde027ee10c3bcadb00f63bdf7fb4c4a1 (diff) |
automatic import of onnxruntimeopeneuler23.09
-rw-r--r-- | python-onnxruntime.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python-onnxruntime.spec b/python-onnxruntime.spec index 004fc08..d2e09cf 100644 --- a/python-onnxruntime.spec +++ b/python-onnxruntime.spec @@ -76,13 +76,14 @@ bash build.sh --build_dir build \ --skip_submodule_sync %install -# onnxruntime -%__cmake --install %{_builddir}/build/RelWithDebInfo --prefix=%{buildroot} # doc mkdir -p "%{buildroot}/%{_docdir}/" cp --preserve=timestamps -r "./docs/" "%{buildroot}/%{_docdir}/%{name}" # python %pyproject_install +# onnxruntime +DESTDIR="%{buildroot}" %{__cmake} --install %{_builddir}/build/RelWithDebInfo +find %{_builddir}/build/RelWithDebInfo/ -name "*.so" -exec cp {} "%{buildroot}/%{_libdir}" \; %files %license LICENSE |