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: 75409@debbugs.gnu.org
Subject: [bug#75409] [PATCH] gnu: Add julia-cpusummary.
Date: Mon, 6 Jan 2025 19:55:04 +0000	[thread overview]
Message-ID: <CH3PR02MB97465740220BD787D1FB1A2890102@CH3PR02MB9746.namprd02.prod.outlook.com> (raw)

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



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

From 60678de3e85f04ea5c1cfe48bdc9c35db6b282b8 Mon Sep 17 00:00:00 2001
Message-Id: <60678de3e85f04ea5c1cfe48bdc9c35db6b282b8.1736193146.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Mon, 6 Jan 2025 19:52:07 +0000
Subject: [PATCH] gnu: Add julia-cpusummary.

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

Change-Id: Icd4a37d36786d59f5b6ec0e7ee9c8d7d901cacc3
---
 gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 6cae46dc2b..a7a6081e2f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1488,6 +1488,28 @@ (define-public julia-cpuid
 CPU features with low run-time cost.")
     (license license:expat)))
 
+(define-public julia-cpusummary
+  (package
+    (name "julia-cpusummary")
+    (version "0.2.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/JuliaSIMD/CPUSummary.jl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06kmmnhhcdgm538ax6lblklrih91p2ligg328kljq144j8s6cixm"))))
+    (build-system julia-build-system)
+    (propagated-inputs (list julia-cpuid julia-ifelse julia-precompiletools
+                             julia-static))
+    (home-page "https://github.com/JuliaSIMD/CPUSummary.jl")
+    (synopsis "Provides a summary of CPU features")
+    (description
+     "This package provides a summary of available CPU features in Julia.")
+    (license license:expat)))
+
 (define-public julia-crayons
   (package
     (name "julia-crayons")

base-commit: 84a68cffe6abf1056df2607e79ef587b63820a6e
-- 
2.34.1


                 reply	other threads:[~2025-01-06 20:01 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=CH3PR02MB97465740220BD787D1FB1A2890102@CH3PR02MB9746.namprd02.prod.outlook.com \
    --to=guix-patches@gnu.org \
    --cc=75409@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).