unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75303] [PATCH] gnu: Add julia-hostcpufeatures.
@ 2025-01-02 21:16 King, Spencer via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: King, Spencer via Guix-patches via @ 2025-01-02 21:16 UTC (permalink / raw)
  To: 75303

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



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

From 93dcc0f7a6d45168a3a8c0d6fe67e1639663fbc7 Mon Sep 17 00:00:00 2001
Message-Id: <93dcc0f7a6d45168a3a8c0d6fe67e1639663fbc7.1735852484.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Thu, 2 Jan 2025 21:14:21 +0000
Subject: [PATCH] gnu: Add julia-hostcpufeatures.

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

Change-Id: I47ccade771b0316eb46c88aaa912dbc699eed453
---
 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 03621a94c7..d71fd21612 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2921,6 +2921,28 @@ (define-public julia-gumbo
 library for parsing HTML.")
     (license license:expat)))
 
+(define-public julia-hostcpufeatures
+  (package
+    (name "julia-hostcpufeatures")
+    (version "0.1.17")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/JuliaSIMD/HostCPUFeatures.jl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1p0phms2zbmlv8bn20lnwn1jh0xjvz7vq266zf296adha534q9pq"))))
+    (build-system julia-build-system)
+    (propagated-inputs (list julia-bittwiddlingconveniencefunctions
+                             julia-ifelse julia-static))
+    (home-page "https://github.com/JuliaSIMD/HostCPUFeatures.jl")
+    (synopsis "Provides information about the CPU's features")
+    (description "This package provides information about the features of
+the host CPU in Julia.")
+    (license license:expat)))
+
 (define-public julia-http
   (package
     (name "julia-http")

base-commit: 5d7455bb580eed41a4fa7c20b71eaccad9f49e73
-- 
2.34.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-02 21:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 21:16 [bug#75303] [PATCH] gnu: Add julia-hostcpufeatures King, Spencer via Guix-patches via

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).