[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47350] [PATCH 22/29] gnu: Add julia-compilersupportlibraries-jll.
From: |
zimoun |
Subject: |
[bug#47350] [PATCH 22/29] gnu: Add julia-compilersupportlibraries-jll. |
Date: |
Tue, 23 Mar 2021 20:46:49 +0100 |
* gnu/packages/julia-xyz.scm (julia-compilersupportlibraries-jll): New variable.
---
gnu/packages/julia-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e22e91bc78..02466fcd04 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
@@ -312,6 +313,49 @@ 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
<https://github.com/JuliaPackaging/Yggdrasil/>
+(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 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
- [bug#47350] [PATCH 19/29] gnu: Add julia-calculus., (continued)
- [bug#47350] [PATCH 20/29] gnu: Add julia-diffresults., zimoun, 2021/03/23
- [bug#47350] [PATCH 21/29] gnu: Add julia-difftests., zimoun, 2021/03/23
- [bug#47350] [PATCH 26/29] gnu: Add julia-chainrules., zimoun, 2021/03/23
- [bug#47350] [PATCH 27/29] gnu: Add julia-forwarddiff., zimoun, 2021/03/23
- [bug#47350] [PATCH 24/29] gnu: Add julia-specialfunctions., zimoun, 2021/03/23
- [bug#47350] [PATCH 23/29] gnu: Add julia-openspecfun-jll., zimoun, 2021/03/23
- [bug#47350] [PATCH 25/29] gnu: Add julia-diffrules., zimoun, 2021/03/23
- [bug#47350] [PATCH 29/29] gnu: Add julia-zygote., zimoun, 2021/03/23
- [bug#47350] [PATCH 28/29] gnu: Add julia-zygoterules., zimoun, 2021/03/23
- [bug#47350] [PATCH 22/29] gnu: Add julia-compilersupportlibraries-jll.,
zimoun <=
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), Nicolò Balzarotti, 2021/03/23
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), zimoun, 2021/03/23
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), Nicolò Balzarotti, 2021/03/24
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), zimoun, 2021/03/24
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), zimoun, 2021/03/24
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), Nicolò Balzarotti, 2021/03/25
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), zimoun, 2021/03/25
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), Nicolò Balzarotti, 2021/03/27
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), zimoun, 2021/03/27
- [bug#47350] [PATCH 00/29] Add Zygote (piece for Machine Learning with Julia), Nicolò Balzarotti, 2021/03/27