gnu: Add eigen-for-onnxruntime.

* gnu/packages/algebra.scm (eigen-for-onnxruntime): New variable.
This commit is contained in:
Nicolas Graves 2025-07-08 13:32:14 +02:00 committed by Sharlatan Hellseher
parent 4d632082cf
commit 209a5c4c96
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1238,6 +1238,28 @@ features, and more.")
(synopsis "Micro-benchmarks of the Eigen linear algebra library"))) (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 (define-public eigen-for-tensorflow
(let ((changeset "fd6845384b86") (let ((changeset "fd6845384b86")
(revision "1")) (revision "1"))