unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "King, Spencer via Guix-patches" via <guix-patches@gnu.org>
To: 75075@debbugs.gnu.org
Subject: [bug#75075] [PATCH] gnu: Add julia-precompiletools.
Date: Tue, 24 Dec 2024 23:41:02 +0000	[thread overview]
Message-ID: <CH3PR02MB974670CA2B6D2ED2AE78FA8490032@CH3PR02MB9746.namprd02.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-julia-precompiletools.patch --]
[-- Type: application/octet-stream, Size: 2009 bytes --]

From e819bf8e5451572e52e6dede77a72df5321041f0 Mon Sep 17 00:00:00 2001
Message-Id: <e819bf8e5451572e52e6dede77a72df5321041f0.1735083570.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Tue, 24 Dec 2024 23:39:09 +0000
Subject: [PATCH] gnu: Add julia-precompiletools.

* gnu/packages/julia-xyz.scm (julia-precompiletools): New variable.

Change-Id: Id5adc9a28c8985bddf51261a2385b7168ffe8b4e
---
 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 4b778812ca..c55549cfbb 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5051,6 +5051,34 @@ (define-public julia-positivefactorizations
 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")

base-commit: eb6d784852dfcade2f5052c4d6fc1bd469f3cdb6
-- 
2.34.1


                 reply	other threads:[~2024-12-24 23:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CH3PR02MB974670CA2B6D2ED2AE78FA8490032@CH3PR02MB9746.namprd02.prod.outlook.com \
    --to=guix-patches@gnu.org \
    --cc=75075@debbugs.gnu.org \
    --cc=spencer.king@wustl.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).