~ruther/guix-local

209a5c4c96366463a651425b0e522619add8cfeb — Nicolas Graves 1 year, 3 months ago 4d63208
gnu: Add eigen-for-onnxruntime.

* gnu/packages/algebra.scm (eigen-for-onnxruntime): New variable.
1 files changed, 22 insertions(+), 0 deletions(-)

M gnu/packages/algebra.scm
M gnu/packages/algebra.scm => gnu/packages/algebra.scm +22 -0
@@ 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"))