From f9d571044818efa9a4fb28dc4232aa3428d2c9ed Mon Sep 17 00:00:00 2001 From: Spencer King Date: Tue, 24 Dec 2024 23:39:09 +0000 Subject: [PATCH] gnu: Add julia-precompiletools. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/julia-xyz.scm (julia-precompiletools): New variable. Change-Id: Id5adc9a28c8985bddf51261a2385b7168ffe8b4e Signed-off-by: Ludovic Courtès --- gnu/packages/julia-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 667d609b6fb..419b2dd2ab7 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -5107,6 +5107,34 @@ Hessian and g the gradient) may not be a descent direction if H is not positive definite.") (license license:expat))) +(define-public julia-precompiletools + (package + (name "julia-precompiletools") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaLang/PrecompileTools.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07b69gmgs3zxs86l9g9dymv3sfgncm8sl86sp0ck6xf5ly10phiy")))) + (build-system julia-build-system) + ;; Tests try to download other repositories + ;; Tests try to install "fake" packages + (arguments + (list + #:tests? #f)) + (propagated-inputs (list julia-preferences)) + (home-page "https://github.com/JuliaLang/PrecompileTools.jl") + (synopsis "Reduce time-to-first-execution of Julia code") + (description + "This package allows you to reduce the latency of the first +execution of Julia code. It is applicable to both package developers and +end users in their personal workflows.") + (license license:expat))) + (define-public julia-preferences (package (name "julia-preferences")