[packages/onnxruntime] - force SSE2 on ix86 (MLAS baseline); rel 3
arekm
arekm at pld-linux.org
Mon Sep 21 19:49:03 CEST 2026
commit 566d15c21342a93256ed94f9700c15acad7e6356
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Sep 21 19:44:26 2026 +0200
- force SSE2 on ix86 (MLAS baseline); rel 3
onnxruntime.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 5956e14..c83c409 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -8,7 +8,7 @@ Summary: ONNX Runtime - cross-platform inference engine for ONNX models
Summary(pl.UTF-8): ONNX Runtime - wieloplatformowy silnik wnioskowania dla modeli ONNX
Name: onnxruntime
Version: 1.30.0
-Release: 2
+Release: 3
License: MIT
Group: Libraries
#Source0Download: https://github.com/microsoft/onnxruntime/releases
@@ -51,6 +51,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# libprotobuf (DT_NEEDED, ldd -r clean); the checker misreads undefined TLS objects
%define skip_post_check_so libonnxruntime.so.*
+# MLAS uses SSE2 intrinsics unconditionally on x86
+%define specflags_ia32 -msse2
+
%description
ONNX Runtime is a cross-platform inference and training accelerator
for machine learning models in the ONNX format. This package contains
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/onnxruntime.git/commitdiff/566d15c21342a93256ed94f9700c15acad7e6356
More information about the pld-cvs-commit
mailing list