guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 209a5c4c96366463a651425b0e522619add8cfeb
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jul 8 13:32:14 2025 +0200

    gnu: Add eigen-for-onnxruntime.
    
    * gnu/packages/algebra.scm (eigen-for-onnxruntime): New variable.
---
 gnu/packages/algebra.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 313bb36dd0..564002202d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1238,6 +1238,28 @@ features, and more.")
 
     (synopsis "Micro-benchmarks of the Eigen linear algebra library")))
 
+(define-public eigen-for-onnxruntime
+  (let ((commit "1d8b82b0740839c0de7f1242a3585e3390ff5f33")
+        (revision "0"))
+    (package/inherit eigen
+      (name "eigen")
+      (version (git-version "3.4.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://gitlab.com/libeigen/eigen";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0pxh81jjnz97ndwaanla6zch1128bfdrf2kgqxgxyjvqbdg1vqwi"))))
+      ;; XXX: Some tests fail, but onnxruntime will move on to the next
+      ;; release soon enough.
+      (arguments
+       (substitute-keyword-arguments (package-arguments eigen)
+         ((#:tests? tests? #t)
+          #f))))))
+
 (define-public eigen-for-tensorflow
   (let ((changeset "fd6845384b86")
         (revision "1"))

Reply via email to