mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 04:40:06 -05:00
gnu: Add julia-quadmath.
* gnu/packages/julia-xyz.scm (julia-quadmath): New variable.
This commit is contained in:
parent
f273a4b799
commit
277fef2026
1 changed files with 38 additions and 0 deletions
|
@ -23,6 +23,7 @@ (define-module (gnu packages julia-xyz)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system julia)
|
#:use-module (guix build-system julia)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages julia-jll))
|
#:use-module (gnu packages julia-jll))
|
||||||
|
|
||||||
(define-public julia-abstractffts
|
(define-public julia-abstractffts
|
||||||
|
@ -1516,6 +1517,43 @@ (define-public julia-plotutils
|
||||||
plotting components.")
|
plotting components.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public julia-quadmath
|
||||||
|
(package
|
||||||
|
(name "julia-quadmath")
|
||||||
|
(version "0.5.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/JuliaMath/Quadmath.jl")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "051biw4b9zni7cmh2f1yzifp1v8wazlfxrdz4p44lyd1wba6379w"))))
|
||||||
|
(build-system julia-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'hardcode-libmath-location
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((gcclib (assoc-ref inputs "gcc:lib")))
|
||||||
|
(substitute* "src/Quadmath.jl"
|
||||||
|
(("libgcc_s.so.1" lib) (string-append gcclib "/lib/" lib))
|
||||||
|
(("libquadmath.so.0" lib) (string-append gcclib "/lib/" lib)))
|
||||||
|
#t))))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("julia-requires" ,julia-requires)))
|
||||||
|
(inputs
|
||||||
|
`(("gcc:lib" ,gcc "lib")))
|
||||||
|
(native-inputs
|
||||||
|
`(("julia-specialfunctions" ,julia-specialfunctions)))
|
||||||
|
(home-page "https://github.com/JuliaMath/Quadmath.jl")
|
||||||
|
(synopsis "Float128 and libquadmath for the Julia language")
|
||||||
|
(description "This is a Julia interface to @code{libquadmath}, providing a
|
||||||
|
@code{Float128} type corresponding to the IEEE754 binary128 floating point
|
||||||
|
format.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-queryoperators
|
(define-public julia-queryoperators
|
||||||
(package
|
(package
|
||||||
(name "julia-queryoperators")
|
(name "julia-queryoperators")
|
||||||
|
|
Loading…
Reference in a new issue