guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 02564e94f9529ce9d4f3e5d1020bac7208532a1d
Author: terramorpha <[email protected]>
AuthorDate: Sun Jan 25 17:37:23 2026 -0500

    gnu: Add xbyak.
    
    * gnu/packages/cpp.scm (xbyak): New variable.
    
    Change-Id: If92e7e660e48a5b43c1c4043c1f35d0d2437a73a
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/cpp.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 7795ddf507..625aeea444 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2025 Andreas Enge <[email protected]>
 ;;; Copyright © 2025 Philippe Swartvagher <[email protected]>
 ;;; Copyright © 2025 Murilo <[email protected]>
+;;; Copyright © 2026 Justin Veilleux <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -848,6 +849,33 @@ combination of these streams.")
 enabled in different parts of your code.")
       (license license:zlib)))
 
+(define-public xbyak
+  (package
+    (name "xbyak")
+    (version "7.30")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/herumi/xbyak";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32 
"0rb0q5i3lj2jfrkmkxcgbczflw05p1x9fdpwrhv7gng7vp2byydw"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      ;; No tests are registered with CTest; the test/ directory contains
+      ;; shell scripts that are not integrated into the CMake build.
+      #:tests? #f))
+    (native-inputs
+     (list pkg-config))
+    (synopsis "JIT assembler for x86(IA-32)/x64(AMD64/x86-64) architecture")
+    (description "Xbyak is a C++ header-only JIT assembler for x86(IA-32),
+x64(AMD64/x86-64) architecture.  It supports MASM/NASM-like syntax and
+advanced instruction sets including AVX-512, APX, and AVX10.2.")
+    (home-page "https://github.com/herumi/xbyak";)
+    (license license:bsd-3)))
+
 (define-public xdgpp
   (let ((commit "f01f810714443d0f10c333d4d1d9c0383be41375")
         (revision "0"))

Reply via email to