mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add eigen-for-python-ml-dtypes.
* gnu/packages/algebra.scm (eigen-for-python-ml-dtypes): New variable. Change-Id: I0dd905c13de81fe144f7b88d18048ac953a13cd8 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
5f891fed27
commit
13ef35140f
1 changed files with 27 additions and 0 deletions
|
@ -1287,6 +1287,33 @@ features, and more.")
|
|||
((#: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.
|
||||
(define-public eigen-for-python-ml-dtypes
|
||||
(let ((commit "7bf2968fed5f246c0589e1111004cb420fcd7c71")
|
||||
(revision "0"))
|
||||
(hidden-package
|
||||
(package
|
||||
(inherit eigen)
|
||||
(name "eigen-for-python-ml-dtypes")
|
||||
(version (git-version "3.4.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(inherit (package-source eigen))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://gitlab.com/libeigen/eigen")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0yq69h7pasbzq5r83d974xi031r0z2y2x0my1rz5crky54i1j0r7"))
|
||||
(patches '())))
|
||||
;; XXX: Tests stable_norm_5 and stable_norm_6 are failing due to
|
||||
;; EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE.
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments eigen)
|
||||
((#:tests? flag #f) #false)))))))
|
||||
|
||||
(define-public xtensor
|
||||
(package
|
||||
(name "xtensor")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue