From d7b357a794eb33a4a6814276dd0fb6dcaa1c08a1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Apr 2024 15:21:46 +0000 Subject: automatic import of onnxruntime --- python-onnxruntime.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python-onnxruntime.spec') 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 -- cgit v1.2.3