~ruther/guix-local

ef0ff1724a66a5d9be38d5867cdedd52c0159774 — Andreas Enge 7 months ago 108d78d
gnu: Remove eigen-for-tensorflow.

* gnu/packages/algebra.scm (eigen-for-tensorflow): Delete variable.

Fixes: guix/guix#1856
Change-Id: Ia781c247c7a72b0da42506de15deee11e31972f1
1 files changed, 0 insertions(+), 35 deletions(-)

M gnu/packages/algebra.scm
M gnu/packages/algebra.scm => gnu/packages/algebra.scm +0 -35
@@ 1287,41 1287,6 @@ features, and more.")
         ((#:tests? tests? #t)
          #f))))))

(define-public eigen-for-tensorflow
  (let ((changeset "fd6845384b86")
        (revision "1"))
    (package (inherit eigen)
      (name "eigen-for-tensorflow")
      (version (string-append "3.3.5-" revision "." changeset))
      (source (origin
                (method hg-fetch)
                (uri (hg-reference
                      (url "https://bitbucket.org/eigen/eigen")
                      (changeset changeset)))
                (sha256
                 (base32
                  "12cwgah63wqwb66xji048hcxc1z5zjg8a7701zlia5zbilnnk1n5"))
                (file-name (string-append name "-" version "-checkout"))
                (modules '((guix build utils)))
                (snippet
                 ;; There are 3 test failures in the "unsupported" directory,
                 ;; but maintainers say it's a known issue and it's unsupported
                 ;; anyway, so just skip them.
                 '(begin
                    (substitute* "unsupported/CMakeLists.txt"
                      (("add_subdirectory\\(test.*")
                       "# Do not build the tests for unsupported features.\n"))))))
      (arguments
       (substitute-keyword-arguments (package-arguments eigen)
         ((#:phases phases)
          `(modify-phases ,phases
             (delete 'disable-some-tests)
             ;; This test cannot be compiled
             (add-after 'unpack 'gcc-compatibility
               (lambda _
                 (substitute* "test/CMakeLists.txt"
                   (("ei_add_test\\(stddeque") "#")))))))))))

(define-public xtensor
  (package
    (name "xtensor")