From patchwork Sun Aug 21 17:49:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Baptiste Volatier X-Patchwork-Id: 41801 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5297027BBEA; Sun, 21 Aug 2022 18:51:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0B5BD27BBE9 for ; Sun, 21 Aug 2022 18:51:32 +0100 (BST) Received: from localhost ([::1]:36258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPp6h-0002dq-6V for patchwork@mira.cbaines.net; Sun, 21 Aug 2022 13:51:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPp6H-0002cW-SW for guix-patches@gnu.org; Sun, 21 Aug 2022 13:51:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPp6E-0005Ux-8q for guix-patches@gnu.org; Sun, 21 Aug 2022 13:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPp6D-0007tO-UR for guix-patches@gnu.org; Sun, 21 Aug 2022 13:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57324] [PATCH] gnu: julia: update to 1.6.7 Resent-From: Jean-Baptiste Volatier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Aug 2022 17:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57324@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.166110420330247 (code B ref -1); Sun, 21 Aug 2022 17:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Aug 2022 17:50:03 +0000 Received: from localhost ([127.0.0.1]:36682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPp5G-0007rm-Ux for submit@debbugs.gnu.org; Sun, 21 Aug 2022 13:50:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:54748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPp5D-0007rE-JK for submit@debbugs.gnu.org; Sun, 21 Aug 2022 13:50:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPp5A-0002NL-Li for guix-patches@gnu.org; Sun, 21 Aug 2022 13:49:59 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:45185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPp58-0004wc-DX for guix-patches@gnu.org; Sun, 21 Aug 2022 13:49:56 -0400 Date: Sun, 21 Aug 2022 17:49:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1661104189; x=1661363389; bh=2x6Y/30pDRS+/k7AnCBk4NrJ61knbf1aEfu850uETIo=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=Wbcz5Oi4gdArCY50niyPvkeq8yNslX+oIwH4kJ5XEHQDwrxie5pjAE3tYA2NtY778 WKRYZf0DW4INskQsTxkyP5DHVv13skZLAqQQaP+slASuGBrgnpT1nC4Zp0UrQq2bud dBnmT1iXfvq8wLnJjwT1Ri40LIQWhrSSvFIh/Xl9x1PA0TmGt3qm0tgKXIIb4EFyBU rTsHad9bUXVAAchhCL593n97JS/RR1IYJGIVufvRJfh+DmmAgV99YmcMhoZftjqozy 7/3MCznhIVeJCrew7AkAH8BNEyHG0QZpdQmrdfZ8tC5nxrkT85tmWz6E+5xMfYChSs ESs2lh4++G5LQ== Message-ID: Feedback-ID: 12033702:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.16; envelope-from=jbv@pm.me; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Jean-Baptiste Volatier X-ACL-Warn: , Jean-Baptiste Volatier via Guix-patches X-Patchwork-Original-From: Jean-Baptiste Volatier via Guix-patches via From: Jean-Baptiste Volatier X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: 706b3ef38b2f7ce9f05aa56e2eaaaf1c19e25f90 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