diff --git a/onnxruntime.spec b/onnxruntime.spec index 66a66e35f7a..08aec422f40 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -1,11 +1,9 @@ -### RPM external onnxruntime 1.7.2 +### RPM external onnxruntime 1.10.0 ## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES} %define github_user cms-externals %define branch cms/v%{realversion} -%define tag d594f80cdf0a50a490eec4a807bb670ecce149d6 +%define tag 7a6355a2780cd18ed0cb3f4a1ceb664391a0bf0c Source: git+https://github.com/%{github_user}/%{n}.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&submodules=1&output=/%{n}-%{realversion}.tgz -#GCC 11 Fix -Source1: https://github.com/microsoft/onnxruntime/commit/de4089f8cbe0baffe56a363cc3a41595cc8f0809.patch BuildRequires: cmake ninja Requires: protobuf py3-numpy py3-wheel py3-onnx zlib libpng py3-pybind11 cuda @@ -15,7 +13,6 @@ Requires: cudnn %prep %setup -q -n %{n}-%{realversion} -patch -p1 < %{_sourcedir}/de4089f8cbe0baffe56a363cc3a41595cc8f0809.patch %build rm -rf ../build; mkdir ../build; cd ../build