[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/33: gnu: Add julia-openspecfun-jll.
From: |
guix-commits |
Subject: |
24/33: gnu: Add julia-openspecfun-jll. |
Date: |
Mon, 29 Mar 2021 10:48:22 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 73052c70051cdbf54af9d88aac0b1a821c10b901
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Thu Mar 25 02:05:10 2021 +0100
gnu: Add julia-openspecfun-jll.
* gnu/packages/julia-xyz.scm (julia-openspecfun-jll): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/julia-xyz.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index bde72e3..d99eadc 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
@@ -865,6 +866,52 @@ 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 provides a wrapper for OpenSpecFun. 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-parsers
(package
(name "julia-parsers")
- 28/33: gnu: Add julia-forwarddiff., (continued)
- 28/33: gnu: Add julia-forwarddiff., guix-commits, 2021/03/29
- 10/33: gnu: Add julia-colortypes., guix-commits, 2021/03/29
- 16/33: gnu: Add julia-finitedifferences., guix-commits, 2021/03/29
- 15/33: gnu: Add julia-richardson., guix-commits, 2021/03/29
- 33/33: gexp: 'gexp->script' uses #:guile also as the guile-for-build., guix-commits, 2021/03/29
- 09/33: gnu: Add julia-abstractffts., guix-commits, 2021/03/29
- 25/33: gnu: Add julia-specialfunctions., guix-commits, 2021/03/29
- 22/33: gnu: Add julia-difftests., guix-commits, 2021/03/29
- 29/33: gnu: Add julia-zygoterules., guix-commits, 2021/03/29
- 32/33: gexp: Add #:guile parameter to 'load-path-expression'., guix-commits, 2021/03/29
- 24/33: gnu: Add julia-openspecfun-jll.,
guix-commits <=
- 23/33: gnu: Add julia-compilersupportlibraries-jll., guix-commits, 2021/03/29
- 18/33: gnu: Add julia-fillarrays., guix-commits, 2021/03/29
- 30/33: gnu: Add julia-zygote., guix-commits, 2021/03/29
- 27/33: gnu: Add julia-chainrules., guix-commits, 2021/03/29
- 17/33: gnu: Add julia-chainrulestestutils., guix-commits, 2021/03/29