all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57324] [PATCH] gnu: julia: update to 1.6.7
@ 2022-08-21 17:49 Jean-Baptiste Volatier via Guix-patches via
  2022-08-23 18:47 ` bug#57324: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Baptiste Volatier via Guix-patches via @ 2022-08-21 17:49 UTC (permalink / raw)
  To: 57324

* gnu/packages/julia.scm (julia): Update to 1.6.7

Hello,
This updates julia to 1.6.7. I did not have time to run the full test suite
(and I only have access to x86_64) yet but it seems to run fine.

I also have another WIP variant of this patch that builds against the git
checkout and where the stdlibs are de-vendored and have their own guix packages.
Personally I find it a bit more elegant than the current tarball
release that we are using and its bundled tarballs of out-of-tree dependencies.

If this is of interest I can finish it up and send it. Otherwise I'll 
continue to work on julia 1.8.

Best regards,
JB

---
 gnu/packages/julia.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 0bdac66175..3b254f937a 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -139,7 +139,7 @@ (define-public libwhich
 (define-public julia
   (package
     (name "julia")
-    (version "1.6.3")
+    (version "1.6.7")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -147,7 +147,7 @@ (define-public julia
                     version "/julia-" version ".tar.gz"))
               (sha256
                (base32
-                "1515x8fs25l3f9csbmd1v4nm041zvjnvigy6s5iidy4yrkwdx4r5"))
+                "0q9xgdpvdkskpzl294w215f6c15c5jk276c9dah5f5w4np3ivbvl"))
               (patches
                (search-patches "julia-SOURCE_DATE_EPOCH-mtime.patch"
                                "julia-allow-parallel-build.patch"))))
@@ -206,6 +206,10 @@ (define-public julia
              (substitute* "base/Makefile"
                (("\\$\\$\\(build_depsbindir\\)/libwhich")
                 (search-input-file inputs "/bin/libwhich")))))
+         (add-after 'unpack 'activate-gnu-source-for-loader
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "cli/Makefile"
+                          (("LOADER_CFLAGS =") "LOADER_CFLAGS = -D_GNU_SOURCE"))))
          (add-after 'unpack 'change-number-of-precompile-statements
            (lambda _
              ;; Remove nss-certs drops the number of statements below 1200,
@@ -447,6 +451,7 @@ (define-public julia
                      ("" "$JULIA_DEPOT_PATH"))))))))
        #:make-flags
        (list
+        "VERBOSE=1" ;; more helpful logging of what make is doing
         (string-append "prefix=" (assoc-ref %outputs "out"))
 
          ;; Passing the MARCH or JULIA_CPU_TARGET flag is necessary to build

base-commit: 706b3ef38b2f7ce9f05aa56e2eaaaf1c19e25f90
-- 
2.37.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#57324: [PATCH] gnu: julia: update to 1.6.7
  2022-08-21 17:49 [bug#57324] [PATCH] gnu: julia: update to 1.6.7 Jean-Baptiste Volatier via Guix-patches via
@ 2022-08-23 18:47 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2022-08-23 18:47 UTC (permalink / raw)
  To: Jean-Baptiste Volatier; +Cc: 57324-done

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]

On Sun, Aug 21, 2022 at 05:49:37PM +0000, Jean-Baptiste Volatier via Guix-patches via wrote:
> * gnu/packages/julia.scm (julia): Update to 1.6.7
> 
> Hello,
> This updates julia to 1.6.7. I did not have time to run the full test suite
> (and I only have access to x86_64) yet but it seems to run fine.
> 
> I also have another WIP variant of this patch that builds against the git
> checkout and where the stdlibs are de-vendored and have their own guix packages.
> Personally I find it a bit more elegant than the current tarball
> release that we are using and its bundled tarballs of out-of-tree dependencies.
> 
> If this is of interest I can finish it up and send it. Otherwise I'll 
> continue to work on julia 1.8.
> 
> Best regards,
> JB
> 

I adjusted some of the phases to help the tests pass and I rounded out
the commit message. Now that 1.8 is released we can start finishing up
that patch too :)

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-23 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-21 17:49 [bug#57324] [PATCH] gnu: julia: update to 1.6.7 Jean-Baptiste Volatier via Guix-patches via
2022-08-23 18:47 ` bug#57324: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.