unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 47350@debbugs.gnu.org
Cc: zimoun <zimon.toutoune@gmail.com>
Subject: [bug#47350] [PATCH 23/29] gnu: Add julia-openspecfun-jll.
Date: Tue, 23 Mar 2021 20:46:50 +0100	[thread overview]
Message-ID: <20210323194656.18303-4-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20210323194656.18303-1-zimon.toutoune@gmail.com>

* 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 <https://github.com/JuliaPackaging/Yggdrasil/>
+(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")
-- 
2.28.0





  parent reply	other threads:[~2021-03-23 19:49 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 19:42 [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia) zimoun
2021-03-23 19:45 ` [bug#47350] [PATCH 01/29] gnu: Add julia-constructionbase zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 02/29] gnu: Add julia-macrotools zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 03/29] gnu: Add julia-nanmath zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 04/29] gnu: Add julia-reexport zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 05/29] gnu: Add julia-irtools zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 06/29] gnu: Add julia-staticarrays zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 07/29] gnu: Add julia-unitful zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 08/29] gnu: Add julia-abstractffts zimoun
2021-03-23 19:45   ` [bug#47350] [PATCH 09/29] gnu: Add julia-colortypes zimoun
2021-03-23 19:46 ` [bug#47350] [PATCH 10/29] gnu: Add julia-colors zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 11/29] gnu: Add julia-example zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 12/29] gnu: Add julia-requires zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 13/29] gnu: Add julia-chainrulescore zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 14/29] gnu: Add julia-richardson zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 15/29] gnu: Add julia-finitedifferences zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 16/29] gnu: Add julia-chainrulestestutils zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 17/29] gnu: Add julia-fillarrays zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 18/29] gnu: Add julia-commonsubexpressions zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 19/29] gnu: Add julia-calculus zimoun
2021-03-23 19:46 ` [bug#47350] [PATCH 20/29] gnu: Add julia-diffresults zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 21/29] gnu: Add julia-difftests zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 22/29] gnu: Add julia-compilersupportlibraries-jll zimoun
2021-03-23 19:46   ` zimoun [this message]
2021-03-23 19:46   ` [bug#47350] [PATCH 24/29] gnu: Add julia-specialfunctions zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 25/29] gnu: Add julia-diffrules zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 26/29] gnu: Add julia-chainrules zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 27/29] gnu: Add julia-forwarddiff zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 28/29] gnu: Add julia-zygoterules zimoun
2021-03-23 19:46   ` [bug#47350] [PATCH 29/29] gnu: Add julia-zygote zimoun
2021-03-23 22:48 ` [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia) Nicolò Balzarotti
2021-03-23 23:01   ` zimoun
2021-03-24  8:15     ` Nicolò Balzarotti
2021-03-24  9:35       ` zimoun
2021-03-25  0:58         ` zimoun
2021-03-25  9:47           ` Nicolò Balzarotti
2021-03-25 11:32             ` zimoun
2021-03-27 21:01             ` Nicolò Balzarotti
2021-03-27 21:24               ` zimoun
2021-03-27 21:41                 ` Nicolò Balzarotti
2021-03-27 22:08                   ` zimoun
2021-03-29 14:50                     ` bug#47350: " Ludovic Courtès
2021-03-29 15:10                       ` [bug#47350] " zimoun
2021-03-25  1:04 ` [bug#47350] [PATCH v2 01/30] build: julia-build-system: Turn on depreciation warnings zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 02/30] gnu: Add julia-constructionbase zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 03/30] gnu: Add julia-macrotools zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 04/30] gnu: Add julia-nanmath zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 05/30] gnu: Add julia-reexport zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 06/30] gnu: Add julia-irtools zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 07/30] gnu: Add julia-staticarrays zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 08/30] gnu: Add julia-unitful zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 09/30] gnu: Add julia-abstractffts zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 11/30] gnu: Add julia-colors zimoun
2021-03-25  1:04   ` [bug#47350] [PATCH v2 12/30] gnu: Add julia-example zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 13/30] gnu: Add julia-requires zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 14/30] gnu: Add julia-chainrulescore zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 15/30] gnu: Add julia-richardson zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 16/30] gnu: Add julia-finitedifferences zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 17/30] gnu: Add julia-chainrulestestutils zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 18/30] gnu: Add julia-fillarrays zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 19/30] gnu: Add julia-commonsubexpressions zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 21/30] gnu: Add julia-diffresults zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 22/30] gnu: Add julia-difftests zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 23/30] gnu: Add julia-compilersupportlibraries-jll zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 24/30] gnu: Add julia-openspecfun-jll zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 25/30] gnu: Add julia-specialfunctions zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 26/30] gnu: Add julia-diffrules zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 27/30] gnu: Add julia-chainrules zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 28/30] gnu: Add julia-forwarddiff zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 29/30] gnu: Add julia-zygoterules zimoun
2021-03-25  1:05   ` [bug#47350] [PATCH v2 30/30] gnu: Add julia-zygote zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210323194656.18303-4-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=47350@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).