From patchwork Tue Mar 23 19:46:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 28049 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 48CAF27BC5D; Tue, 23 Mar 2021 19:49:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9BD2127BC59 for ; Tue, 23 Mar 2021 19:49:27 +0000 (GMT) Received: from localhost ([::1]:57554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOn1q-000468-Qm for patchwork@mira.cbaines.net; Tue, 23 Mar 2021 15:49:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOn0e-0002nL-Sy for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOn0X-0003WZ-Jr for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOn0X-0008I7-IK for guix-patches@gnu.org; Tue, 23 Mar 2021 15:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH 23/29] gnu: Add julia-openspecfun-jll. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Mar 2021 19:48:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47350 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47350@debbugs.gnu.org Cc: zimoun Received: via spool by 47350-submit@debbugs.gnu.org id=B47350.161652886531782 (code B ref 47350); Tue, 23 Mar 2021 19:48:05 +0000 Received: (at 47350) by debbugs.gnu.org; 23 Mar 2021 19:47:45 +0000 Received: from localhost ([127.0.0.1]:33148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOn0D-0008GY-0P for submit@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:45 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:42598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOmzg-0008Cy-78 for 47350@debbugs.gnu.org; Tue, 23 Mar 2021 15:47:27 -0400 Received: by mail-wr1-f42.google.com with SMTP id x13so22034028wrs.9 for <47350@debbugs.gnu.org>; Tue, 23 Mar 2021 12:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mXAjdfz1k5NqoLFsZoFefU3Js/lhVnqaxKh2YlXpCOs=; b=Gd2TYRxl4EvisaNYTemaT/1GU9vkPiLz0SD5zDxvXlQ6tIUPB+UJNgz4SOM23dJyiq 8kemdgZ1gygZAkMVMMvxdiS1YwPnL84uoCmCs8S9Rz+Wvh/nmNIIDswOTExpX+V7DKZm I53wh5uLuUoPZlKyDIfTgmieiiWm+rm43kKGCftBOS/D6gIHEutk5n+h1Ng/jD5cuBXy Qh0507reX0m+LjygLPQ55K8nh7IDBCZNNSD7Bxx8VvYxKvMJcwpVijOoE1hinIO6Vd78 htf6EJXRKnTpc7O4sMAlMBQ5j/O0tL1GIwf9dYS+f8w2g0/iloVx2NpDJIaOW1U8kipN 7U6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mXAjdfz1k5NqoLFsZoFefU3Js/lhVnqaxKh2YlXpCOs=; b=rKLyf5ehtD00PzAQvbLjBzsiamFM3dTmbP/XDR+YnyTC0nrENYQ/IQqJyaHbbrnG+I oMbEIMzvvS5lQhaI7KRu8JBWoh7VZPGyPDh4v7eG1dHpJmu2obZgblhX+dbNIeHKd0lO P/dpemaP7qaLli2oLbAk3tPSgycqf/g93jolxOQOhid1+yJ69qXNEwtNdryOaMqqxAls m0j5+1smGHcAll0GmfKJC9DD1SEFrHJ16nP1Av1+5D/eB/aq/+N+H6+FTqXHEJiP0TWy KzZWPZIVMMt4YO6bjqTY6jrLzUJU5v45c1o9la7DdOxLquLj8dxTZZktmhu2iNBQtpij 4OfA== X-Gm-Message-State: AOAM531y+mO14ytct/qvcAmFAUwTvx4HmZd/gUcPCrmYRcNBqlEI13D1 3sTc5AgIWQ0xoBKHlpP7wcbNHGyb5ns= X-Google-Smtp-Source: ABdhPJzpPyXdHRYKRben+bojB0rsb1eiV8fFaSRTNmDUp0YVyKUbczqCGdCjcv4vicDIALmLKza3Jw== X-Received: by 2002:adf:b355:: with SMTP id k21mr5721062wrd.156.1616528826722; Tue, 23 Mar 2021 12:47:06 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a131sm3656104wmc.48.2021.03.23.12.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 12:47:06 -0700 (PDT) From: zimoun Date: Tue, 23 Mar 2021 20:46:50 +0100 Message-Id: <20210323194656.18303-4-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210323194656.18303-1-zimon.toutoune@gmail.com> References: <20210323194656.18303-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia-xyz.scm (julia-openspecfun-jll): New variable. --- gnu/packages/julia-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 02466fcd04..afa8e815f8 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -23,6 +23,7 @@ #:use-module (guix git-download) #:use-module (guix build-system julia) #:use-module (gnu packages gcc) + #:use-module (gnu packages maths) #:use-module (gnu packages tls)) (define-public julia-abstractffts @@ -878,6 +879,51 @@ have arbitrary indices, similar to those found in some other programming languages like Fortran.") (license license:expat))) +;;; TODO: Remove this autogenerated source package +;;; and build it from realse source using +(define-public julia-openspecfun-jll +(let ((commit "6c505cce3bdcd9cd2b15b4f9362ec3a42c4da71c")) + (package + (name "julia-openspecfun-jll") + (version "0.5.3+4") ;tag not created upstream + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bl2gcgndsbiwhwy8fl070cjm1fyf9kxj6gkikgirmzgjl29iakn")))) + (build-system julia-build-system) + (arguments + `(#:tests? #f ; no runtests.jl + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'override-binary-path + (lambda* (#:key inputs #:allow-other-keys) + (map + (lambda (wrapper) + (substitute* wrapper + (("generate_wrapper_header.*") + (string-append + "generate_wrapper_header(\"OpenSpecFun\", \"" + (assoc-ref inputs "openspecfun") "\")\n")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$")) + #t))))) + (inputs + `(("openspecfun" ,openspecfun))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers) + ("julia-compilersupportlibraries-jll" ,julia-compilersupportlibraries-jll))) + (home-page "https://github.com/JuliaBinaryWrappers/OpenSpecFun_jll.jl") + (synopsis "Internal wrappers") + (description "This package is an autogenerated source package constructed +using @code{BinaryBuilder.jl}. The originating @code{build_tarballs.jl} script +can be found on the community build tree Yggdrasil.") + (license license:expat)))) + (define-public julia-parsers (package (name "julia-parsers")