mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: eigen-for-onnxruntime: Hide and change the name field.
Before, command line operations with "eigen" would refer to this package instead to the actual eigen package. * gnu/packages/algebra.scm (eigen-for-onnxruntime): Wrap in hidden-package. [name]: Change from "eigen" to "eigen-for-onnxruntime". Change-Id: I043be4fc9e9416931ccdfc1f8fa185ab5348b83f
This commit is contained in:
parent
1b11494467
commit
3981573ee2
1 changed files with 20 additions and 18 deletions
|
@ -1268,24 +1268,26 @@ features, and more.")
|
|||
(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))))))
|
||||
(hidden-package
|
||||
(package
|
||||
(inherit eigen)
|
||||
(name "eigen-for-onnxruntime")
|
||||
(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)))))))
|
||||
|
||||
;; XXX: python-ml-dtypes uses this commit specifically since at least version
|
||||
;; 0.2.0. It's not compiling with another eigen, so build this one for now.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue