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: 75301@debbugs.gnu.org
Subject: [bug#75301] [PATCH] gnu: Add julia-cpuid.
Date: Thu, 2 Jan 2025 19:58:16 +0000	[thread overview]
Message-ID: <CH3PR02MB9746D723D4D92AB053F93FDA90142@CH3PR02MB9746.namprd02.prod.outlook.com> (raw)

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



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

From d6ef1cd069e2d8a84eb63d831b273f8fc2af2149 Mon Sep 17 00:00:00 2001
Message-Id: <d6ef1cd069e2d8a84eb63d831b273f8fc2af2149.1735847714.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Thu, 2 Jan 2025 19:54:48 +0000
Subject: [PATCH] gnu: Add julia-cpuid.

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

Change-Id: Ifd9abfb142184c58941c97e959a4b5c9247ce1a8
---
 gnu/packages/julia-xyz.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 03621a94c7..a6a4eabd6f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
-;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
+;;; Copyright © 2024, 2025 Spencer King <spencer.king@geneoscopy.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1466,6 +1466,28 @@ (define-public julia-coordinatetransformations
 as SLAM (simultaneous localization and mapping).")
       (license license:expat))))
 
+(define-public julia-cpuid
+  (package
+    (name "julia-cpuid")
+    (version "0.3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/m-j-w/CpuId.jl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0x2csy8cvd1rm49qpqpkb3zs7swj4r91zdsyjafqr7hvjp9h3hjz"))))
+    (build-system julia-build-system)
+    (propagated-inputs (list julia-precompiletools))
+    (home-page "https://github.com/m-j-w/CpuId.jl")
+    (synopsis "Ask the CPU for its features and specifications")
+    (description
+     "This package allows you to query the availability of specific
+CPU features with low run-time cost.")
+    (license license:expat)))
+
 (define-public julia-crayons
   (package
     (name "julia-crayons")

base-commit: 5d7455bb580eed41a4fa7c20b71eaccad9f49e73
-- 
2.34.1


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