From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cOf7ASbiW2CbZwEAgWs5BA (envelope-from ) for ; Thu, 25 Mar 2021 02:06:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wIwuOSXiW2BfRAAA1q6Kng (envelope-from ) for ; Thu, 25 Mar 2021 01:06:45 +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 814EA29C7D for ; Thu, 25 Mar 2021 02:06:45 +0100 (CET) Received: from localhost ([::1]:32812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPESS-0001y8-Kf for larch@yhetil.org; Wed, 24 Mar 2021 21:06:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPERu-0001AE-4B for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPERt-0003FK-Rw for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPERt-0000j3-NN for guix-patches@gnu.org; Wed, 24 Mar 2021 21:06:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47350] [PATCH v2 23/30] gnu: Add julia-compilersupportlibraries-jll. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Mar 2021 01:06:09 +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.16166343562593 (code B ref 47350); Thu, 25 Mar 2021 01:06:09 +0000 Received: (at 47350) by debbugs.gnu.org; 25 Mar 2021 01:05:56 +0000 Received: from localhost ([127.0.0.1]:36641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERf-0000ff-Gt for submit@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:55 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:40582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPERJ-0000b4-54 for 47350@debbugs.gnu.org; Wed, 24 Mar 2021 21:05:33 -0400 Received: by mail-wm1-f45.google.com with SMTP id y124-20020a1c32820000b029010c93864955so2178470wmy.5 for <47350@debbugs.gnu.org>; Wed, 24 Mar 2021 18:05:33 -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=KJXcTLN5XrQYkFrtkThfcx59f9M+1yPbuoBcSm5+lx8=; b=PzD1Ny/Pf5veimtoZs1btYFhuiGbklCgUYKsiwE8nPgMnJousnCapLI/5EfsNZxY2z MreTJw3rBJuUdOo8CF9tnrcQcL11A/D+nZKdgdGxoZ/ZDVuw720yt1mSlDVrUmVaQKmY KaolSaDWZzFkK0W1VIJAQzCYpoDgqMfTw1RNo7Wrbh1eDuaSapoGTlXPYbZBOPbatelD vhsBHg032ULsq69D1xh59w/mcOMUKgJdP03V9sABchSzu+NBVxRsmVJLB4F4PLca3J4O xn0YyaK+1tF6C9iyL1rKfC6xJ0RqLFWsaF5BXXP2f/q9U6bFrHGXHhc8IgvM1JhqG0qB teTA== 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=KJXcTLN5XrQYkFrtkThfcx59f9M+1yPbuoBcSm5+lx8=; b=Lp4b7NStISWvKOLyrj2KFaggt42N4wyGnGxX5hsO33tMdH84sqcMlNFARR6kj13xzI XJOiEQwuQ2Bzp9Iq7kvd55obvHkymRA9OhpncLcqF5k+zr4yqIkA7lUWBj0aMaRStDT5 lswl61tyr3SATzt0XtF6boMj2MSs7uHXDq1jrnTATtXU12uX7ZY4MPwrOS29QntOKyzR noHx4aU2KvnIzdtDtNcn5X8MMW6E2cg44SM/m+WV/CJP+FOKfHrk5iXJdlIOtuNmfPqZ TDrDk/p/1JJdkxbJgw0igrp2Jfv6Te9891jmc+mfw5vNXwjq6Zzi7DcVrpXJs5BCl781 4VoQ== X-Gm-Message-State: AOAM530x4Ga66oKbWI+Bcedu6bBHeWkJGF6lE7fWgANH1VOUg+TZLeZf xb2YsSS9LH6d/DMMViFXqOoMB1a3TP4= X-Google-Smtp-Source: ABdhPJzFhU0QqsB7YeJFukyzyIlni0VtWA+SVh2d/ghHKOEJ0ZoqMg51eeM4K7Vf1HhykEBV+Kr4Jw== X-Received: by 2002:a05:600c:358c:: with SMTP id p12mr5425201wmq.159.1616634327679; Wed, 24 Mar 2021 18:05:27 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w6sm5208488wrl.49.2021.03.24.18.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 18:05:27 -0700 (PDT) From: zimoun Date: Thu, 25 Mar 2021 02:05:09 +0100 Message-Id: <20210325010516.18994-21-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210325010516.18994-1-zimon.toutoune@gmail.com> References: <20210325010516.18994-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616634405; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=KJXcTLN5XrQYkFrtkThfcx59f9M+1yPbuoBcSm5+lx8=; b=dNJf2HF8rF1R//8YGPPuVx84n/eJT+VZczfg4ZcatizjBn1HEmhJMgAQc9CuNWupYCdsxF 5mYANrwgPgZsXoRI4dcDejVWKWCYoK5kPGz1dDmm+7UApWODYR2VEYpMTFl7ut0xLrKvD9 MEh/xHVs4CbZcgMUEyMSK8GA3Dqrn/QyNte6py6w6IkY2YftdfVKb1duzlGQODkpAX1ZA/ oNZdTmDKudHgkm8Z9m+1n9r6D17/EqiqBmgoaLswJub9PduvMlpAtaLkCf0oR5PXI1hHzc f7iVchkMnC48Q8EXhzHA3Y/qzI/afikOwk3BDbFaKnjCeyITZzqiHNHhn2cOhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616634405; a=rsa-sha256; cv=none; b=SLwOW0gzgZlcj4z5lYnTJyFqXVWA2LSjZEg6xBNclTq8bYOD++iEPwwWMlpOjpXxLu9gGR BqKrWQchF+z624EnkrBuoDbxc5JhOT+r0dYstDuy9w1LWFU0W7hGOxFUOXrO1OTQBFm47z EYDtCKwOzJfli05YVJnzG4MKofTXHvTRH9SSIqxkLab0UVv1FBUAhZvnvNt4eQptCDUgg8 EAqZcqhYoIt+v8Ab6QKxMAzNZqRC0iQdG2ZNNlMqdb1xDxi/igyDduENf+ST89INDB98RA XjqXjEVsmTHHc9tI2qk1nydgkcSGis3YOgYoGsLRck+RL+7Ht0uQG1ZTbAfYZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="PzD1Ny/P"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="PzD1Ny/P"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 814EA29C7D X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: /o+2825TsZ8a * gnu/packages/julia-xyz.scm (julia-compilersupportlibraries-jll): New variable. --- gnu/packages/julia-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 9b04e1bd67..bde72e364d 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -22,6 +22,7 @@ #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system julia) + #:use-module (gnu packages gcc) #:use-module (gnu packages tls)) (define-public julia-abstractffts @@ -298,6 +299,50 @@ provides a macro that lets you use the latest syntax in a backwards-compatible way.") (license license:expat))) +;;; TODO: Remove this autogenerated source package +;;; and build it from realse source using +(define-public julia-compilersupportlibraries-jll + (package + (name "julia-compilersupportlibraries-jll") + (version "0.4.0+1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaBinaryWrappers/CompilerSupportLibraries_jll.jl") + (commit (string-append "CompilerSupportLibraries-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03j6xdvps259mhdzpjqf41l65w2l9sahvxg4wrp34hcf69wkrzpy")))) + (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(\"CompilerSupportLibraries\", \"" + (assoc-ref inputs "gfortran:lib") "\")\n")))) + ;; There's a Julia file for each platform, override them all + (find-files "src/wrappers/" "\\.jl$")) + #t))))) + (inputs ;required by artifacts + `(("gfortran:lib" ,gfortran "lib"))) + (propagated-inputs + `(("julia-jllwrappers" ,julia-jllwrappers))) + (home-page "https://github.com/JuliaBinaryWrappers/CompilerSupportLibraries_jll.jl") + (synopsis "Internal wrappers") + (description "This package provides compiler support for libraries. It 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-constructionbase (let ((commit "de77e2865b554f9b078fd8c35b593cce0554ae02")) (package -- 2.28.0