Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions onnxruntime-gcc13.patch

This file was deleted.

6 changes: 2 additions & 4 deletions onnxruntime.spec
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
### RPM external onnxruntime 1.20.1
### RPM external onnxruntime 1.24.3
## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES}
## INCLUDE cuda-flags
%define github_user cms-externals
%define branch cms/v%{realversion}
%define tag efe7f6a3859bedbad40a2991480be4e7584b1582
%define tag b091c8d4cddcb5862d04e31e54f6dc9b34769106
Source: git+https://github.com/%{github_user}/%{n}.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&submodules=1&output=/%{n}-%{realversion}.tgz
Patch0: onnxruntime-gcc13

BuildRequires: cmake ninja
Requires: protobuf py3-numpy py3-wheel py3-onnx zlib libpng py3-pybind11 re2 eigen
%{!?without_cuda:Requires: cuda cudnn}

%prep
%setup -q -n %{n}-%{realversion}
%patch0 -p1

%build
rm -rf ../build; mkdir ../build; cd ../build
Expand Down