From 02564e94f9529ce9d4f3e5d1020bac7208532a1d Mon Sep 17 00:00:00 2001 From: terramorpha Date: Sun, 25 Jan 2026 17:37:23 -0500 Subject: gnu: Add xbyak. * gnu/packages/cpp.scm (xbyak): New variable. Change-Id: If92e7e660e48a5b43c1c4043c1f35d0d2437a73a Signed-off-by: Liliana Marie Prikler --- gnu/packages/cpp.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/cpp.scm') 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 ;;; Copyright © 2025 Philippe Swartvagher ;;; Copyright © 2025 Murilo +;;; Copyright © 2026 Justin Veilleux ;;; ;;; 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")) -- cgit v1.3