gnu: julia-nnlib: Update to 0.7.34.
* gnu/packages/julia-xyz.scm (julia-nnlib): Update to 0.7.34. [arguments]: Rename 'skip-cuda-tests to 'skip-some-tests. Adjust to skip doctests. [propagated-inputs]: Add julia-compat.
parent
8b84b47a52
commit
c42652d578
|
@ -3992,7 +3992,7 @@ interface to interact with these types.")
|
||||||
(define-public julia-nnlib
|
(define-public julia-nnlib
|
||||||
(package
|
(package
|
||||||
(name "julia-nnlib")
|
(name "julia-nnlib")
|
||||||
(version "0.7.29")
|
(version "0.7.34")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -4001,21 +4001,26 @@ interface to interact with these types.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "16vn5w5274kcywh1xp0zqjk5q10xrk125aznz5av6wifwrvghk8s"))))
|
(base32 "1xzlh7pj6aqmbkrskqgwvifprg9a6xkkdh00ls6f6xnzqfrnhwna"))))
|
||||||
(build-system julia-build-system)
|
(build-system julia-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'link-depot 'skip-cuda-tests
|
(add-after 'link-depot 'skip-some-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "test/runtests.jl"
|
(substitute* "test/runtests.jl"
|
||||||
|
;; Skip the CUDA tests
|
||||||
(("using CUDA") "")
|
(("using CUDA") "")
|
||||||
(("&& CUDA\\.functional\\(\\)") ""))
|
(("&& CUDA\\.functional\\(\\)") "")
|
||||||
|
|
||||||
|
;; UnicodePlots is only used for the doctests
|
||||||
|
(("if VERSION <.*") "if true\n"))
|
||||||
(setenv "NNLIB_TEST_CUDA" "false"))))))
|
(setenv "NNLIB_TEST_CUDA" "false"))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list julia-adapt
|
(list julia-adapt
|
||||||
julia-chainrulescore
|
julia-chainrulescore
|
||||||
|
julia-compat
|
||||||
julia-requires))
|
julia-requires))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list julia-chainrulestestutils
|
(list julia-chainrulestestutils
|
||||||
|
|
Reference in New Issue