gnu: Add julia-linesearches.
* gnu/packages/julia-xyz.scm (julia-linesearches): New variable.
This commit is contained in:
parent
74afcc0f55
commit
d40de1fb81
@ -1,7 +1,7 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||||
;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
|
;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
|
||||||
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2021 jgart <jgart@dismail.de>
|
;;; Copyright © 2021 jgart <jgart@dismail.de>
|
||||||
;;;
|
;;;
|
||||||
@ -3104,6 +3104,49 @@ equations in string literals in the Julia language.")
|
|||||||
implementation of matrix-free methods for iterative solvers.")
|
implementation of matrix-free methods for iterative solvers.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public julia-linesearches
|
||||||
|
(package
|
||||||
|
(name "julia-linesearches")
|
||||||
|
(version "7.1.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/JuliaNLSolvers/LineSearches.jl")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1qc4la07w6s1xhcyd0hvbnpr31zc1a2ssgyybc8biv5m00g0dnr0"))))
|
||||||
|
(build-system julia-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'link-depot 'skip-optim-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/examples.jl"
|
||||||
|
;; Prevent a cycle with Optim.jl.
|
||||||
|
(("^ SKIPFILE.*") "")
|
||||||
|
(("^ #SKIPFILE") " SKIPFILE"))))
|
||||||
|
(add-after 'link-depot 'skip-doublefloats-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/runtests.jl"
|
||||||
|
(("using DoubleFloats.*") "")
|
||||||
|
((".*arbitrary_precision\\.jl.*") "")))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list julia-nlsolversbase
|
||||||
|
julia-nanmath
|
||||||
|
julia-parameters))
|
||||||
|
(native-inputs
|
||||||
|
;; DoubleFloats.jl transitively depends on TimeZones.jl, which is currently
|
||||||
|
;; unpackageable due to its oversized Artifacts.toml.
|
||||||
|
(list ;julia-doublefloats
|
||||||
|
julia-optimtestproblems))
|
||||||
|
(home-page "https://github.com/JuliaNLSolvers/LineSearches.jl")
|
||||||
|
(synopsis "Line search methods for optimization and root-finding")
|
||||||
|
(description "This package provides an interface to line search algorithms
|
||||||
|
implemented in Julia.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public julia-logexpfunctions
|
(define-public julia-logexpfunctions
|
||||||
(package
|
(package
|
||||||
(name "julia-logexpfunctions")
|
(name "julia-logexpfunctions")
|
||||||
|
Loading…
Reference in New Issue
Block a user