guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

28/57: gnu: julia-nnlib: Update to 0.7.34.


From: guix-commits
Subject: 28/57: gnu: julia-nnlib: Update to 0.7.34.
Date: Wed, 21 Dec 2022 12:41:24 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit c42652d57815a88b724f392bd32dcb5f71196939
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 13 21:13:31 2022 +0200

    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.
---
 gnu/packages/julia-xyz.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]