Commit ae40007b authored by MARAIT Gilles's avatar MARAIT Gilles
Browse files

Update ttpy; removing tests; setting LD_LIBRARY_PATH before build

parent cbda4e43
......@@ -52,15 +52,22 @@
;; (version "1.2.1")
;; (source
;; (origin
;; (method url-fetch)
;; (uri (pypi-uri "ttpy" version))
;; (sha256
;; (base32
;; "1mgdq0g57f7sivl6g36p7qx99hm6zyc5hl8symdrmah1pgdywapq"))))
(build-system python-build-system)
`(#:phases (modify-phases %standard-phases
(add-before 'build 'patch-before-build
(lambda _
;; Indicate we want to use "CPU = i8-gnu"
(rename-file "tt/tt-fort/Makefile.cpu.default" "tt/tt-fort/Makefile.cpu")
;; Python seems to be checking LD_LIBRARY_PATH for dependencies
;; so we copy the paths in LIBRARY_PATH to help it
(getenv "LIBRARY_PATH"))
#:tests? #f))
(native-inputs `(("python-pytest" ,python-pytest)
("gfortran" ,gfortran)))
......@@ -71,31 +78,10 @@
(propagated-inputs `(("python-numpy" ,python-numpy)
("python-scipy" ,python-scipy)
("python-six" ,python-six)))
;; (arguments
;; `(#:phases
;; (modify-phases %standard-phases
;; (add-before 'build 'configure-openblas
;; (lambda* (#:key inputs #:allow-other-keys)
;; (call-with-output-file "site.cfg"
;; (lambda (port)
;; (format port
;; "[blas]
;; libraries = openblas
;; library_dirs = ~a/lib
;; include_dirs = ~a/include
;; # backslash-n to make emacs happy
;; \n[atlas]
;; library_dirs = ~a/lib
;; atlas_libs = openblas
;; "
;; (assoc-ref inputs "openblas")
;; (assoc-ref inputs "openblas")
;; (assoc-ref inputs "openblas"))))
;; #t)))))
"TTPY: Python implementation of the Tensor Train (TT) - Toolbox.")
"Python implementation of the Tensor Train (TT) -Toolbox. It contains several important packages for working with the TT-format in Python. It is able to do TT-interpolation, solve linear systems, eigenproblems, solve dynamical problems. Several computational routines are done in Fortran (which can be used separately), and are wrapped with the f2py tool.")
(license #f))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment