summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorterramorpha <terramorpha@cock.li>2026-01-25 17:37:23 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-02-10 14:09:51 +0100
commit02564e94f9529ce9d4f3e5d1020bac7208532a1d (patch)
treedae3ffba003fb0353c45a25bc0ecb28612aa7f28 /gnu
parent049abf7db8b74435c3e267857c3f8309244fe6d4 (diff)
gnu: Add xbyak.
* gnu/packages/cpp.scm (xbyak): New variable. Change-Id: If92e7e660e48a5b43c1c4043c1f35d0d2437a73a Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cpp.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 7795ddf507b..625aeea4447 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -51,6 +51,7 @@
;;; Copyright © 2025 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2025 Philippe Swartvagher <phil.swart@gmx.fr>
;;; Copyright © 2025 Murilo <murilo@disroot.org>
+;;; Copyright © 2026 Justin Veilleux <terramorpha@cock.li>
;;;
;;; 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"))