From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GL9MIkp5jmEUIgAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 15:25:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gEjxHUp5jmGSGgAAB5/wlQ (envelope-from ) for ; Fri, 12 Nov 2021 14:25:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1BADEB839 for ; Fri, 12 Nov 2021 15:25:14 +0100 (CET) Received: from localhost ([::1]:55814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlXUP-000579-8h for larch@yhetil.org; Fri, 12 Nov 2021 09:25:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlXUF-00050h-4a for guix-patches@gnu.org; Fri, 12 Nov 2021 09:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlXUE-00014q-SR for guix-patches@gnu.org; Fri, 12 Nov 2021 09:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlXUE-0001Mx-PF for guix-patches@gnu.org; Fri, 12 Nov 2021 09:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51319] [PATCH v2 2/2] gnu: Add julia-sundials-jull Resent-From: Jean-Baptiste Volatier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 14:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51319 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51319@debbugs.gnu.org, efraim@flashner.co.il Cc: Jean-Baptiste Volatier Received: via spool by 51319-submit@debbugs.gnu.org id=B51319.16367270695200 (code B ref 51319); Fri, 12 Nov 2021 14:25:02 +0000 Received: (at 51319) by debbugs.gnu.org; 12 Nov 2021 14:24:29 +0000 Received: from localhost ([127.0.0.1]:43779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlXTh-0001Lm-75 for submit@debbugs.gnu.org; Fri, 12 Nov 2021 09:24:29 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:40934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlXTe-0001LY-LQ for 51319@debbugs.gnu.org; Fri, 12 Nov 2021 09:24:27 -0500 Date: Fri, 12 Nov 2021 14:24:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1636727056; bh=tN4ewNESNNzZ+umtys8UM9SEIyVtQ6BrbPTO8tWVUSk=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=drt9wD6ynPQLjh40mn4xkZ+Vu300lJ0htLhc7vfP0OtJuKK/YaVoE+0JQZYDBAmZD QhCRDKw8YImJcN2LeNeci5/dfG0aje1GYHGbg4E6c0N72RQaBl8tztKNplXwLhftyA KmEGyFcPViQSmBNSJ4gEkktyn4kkIi0auDxcfLriWmyLuEeIAXueb57ihyIGBvgtlX 3cmCfmy63977bfOIomAtbMJKD8ZcJlHSbJ5lo+HWDPtuUm2PlT0zAub+Sgc7MhZEqJ 22eNId95HNeKi4/7irxvX3Y8+fw4rfT22C9kwEArzN4vMnZ4VQ0JpXrHHD1fS42EYy I2VWK3z70F8Fg== Message-ID: <20211112142328.28400-3-jbv@pm.me> In-Reply-To: <20211112142328.28400-1-jbv@pm.me> References: <20211021130952.14696-1-jbv@pm.me> <20211021130952.14696-2-jbv@pm.me> <20211112142328.28400-1-jbv@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Jean-Baptiste Volatier X-ACL-Warn: , Jean-Baptiste Volatier via Guix-patches From: Jean-Baptiste Volatier via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636727114; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tN4ewNESNNzZ+umtys8UM9SEIyVtQ6BrbPTO8tWVUSk=; b=GJ8xv0x5Kl5A/LOLmejtZIYqQ6g/9edlnoJnwILIT9VrLtr/9i4wD59V16gGGzMxaGinqq FBCSkUbCCiq3QqP2B6/WVTZcRss0aQEqcrh+pylvDC11eerT2/0bKmf2z2N7BT7+nCT20Q WOA5cLVxulNqkd3jPJK/EsL0AbR9IY/Cek4X93b/e/fSZBKG+LaPcAJy2I5vu78ywwWfRP JYgOaXz/B0rCv9rT2U6FqhVkomCy9ydEui65wRtF/wYAIDy6SOMQ64HKebFnoRzfAXFyRs uQ4JTcA+7YtzLK3/s6PTk+NKaLgv8TXkhW0jYWzQkGCkriQEj1Itwr9olHBZvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636727114; a=rsa-sha256; cv=none; b=Ts2qzxTutNSJ+vn/BRb9Mqh62B+NgGBQjHiWOD22V6Jmc1+8sGs86oXJqqeNQBIEln9XFq m3apIYh++mlaYoQVcBBRMsuM7pGQLAFgzzKb8e2ep5u3RfXM1Bmkp/rYCdlGEbUEm4/hpK n5do3LB2QXNB3SU88LauKd1Z2dz9yCPftafVaE/4cZEdRgAVDEANZNldQlh3RdgI0OqaQN mLB8n9dNO451rWXJ5JWBznYYEro1CYAwR5o6tMBIcPeZbOR3TEJdvKX1YlFKk2wbXSQgqm nF0nGicbFHlZ/deB0Fl7/VgbWtsZMUEcHVwJOBTGV5Lj3tQuO8vMXgTNv/hzoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail header.b=drt9wD6y; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail header.b=drt9wD6y; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1BADEB839 X-Spam-Score: -1.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0gtYSfjPszTm * gnu/packages/julia-jll.scm (julia-sundials-jll): New variable. * gnu/packages/maths.scm (sundials-julia): New variable. --- gnu/packages/julia-jll.scm | 38 ++++++++++++++++++++++++++++++++++++++ gnu/packages/maths.scm | 24 ++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index d8cf5b9eaf..097d2f1123 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -2759,3 +2759,41 @@ (define-public julia-zstd-jll (synopsis "Zstd library wrappers") (description "This package provides a wrapper for the zstd library.") (license license:expat))) + +(define-public julia-sundials-jll + (package + (name "julia-sundials-jll") + (version "5.2.1+0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/Sundials_jll.j= l") + (commit (string-append "Sundials-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cijb9frq8gj8bjpqf2lr5d0jxlj262y6h6xi4z3536dingrvffc")))= ) + (build-system julia-build-system) + (arguments + '(#:tests? #f ; no runtests + #:phases + (modify-phases %standard-phases + (add-after 'link-depot 'override-binary-path + (lambda* (#:key inputs #:allow-other-keys) + (map + (lambda (wrapper) + (substitute* wrapper + (("global artifact_dir.*") + (string-append + "global artifact_dir =3D \"" + (assoc-ref inputs "sundials") "\"\n")))) + ;; There's a Julia file for each platform, override them al= l + (find-files "src/wrappers/" "\\.jl$"))))))) + (inputs + `(("sundials" ,sundials-julia))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers))) + (home-page "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl") + (synopsis "SUndials library wrappers") + (description "This package provides a wrapper for the sundials library= .") + (license license:expat))) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 5152fe6942..eba45cd6b6 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6159,6 +6159,30 @@ (define-public sundials-openmpi =09 ,%openmpi-setup))))) (synopsis "SUNDIALS with OpenMPI support"))) +(define-public sundials-julia + (package + (inherit sundials) + (name "sundials-julia") + (version "5.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LLNL/sundials.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "08q9svjdl6fmqrwyd9p12m98n0wd2lws38yh223wyp6590zi3i49")))) + (inputs + `(("lapack" ,lapack) + ,@(package-inputs sundials))) + (arguments + (substitute-keyword-arguments (package-arguments sundials) + ((#:configure-flags flags '()) + `(cons* "-DLAPACK_ENABLE:BOOL=3DON" + ,flags)))) + (synopsis "SUNDIALS with lapack support as required by julia-sundials-= jll"))) + (define-public combinatorial-blas (package (name "combinatorial-blas") -- 2.33.1