From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 72396@debbugs.gnu.org
Cc: mcsinyx@disroot.org
Subject: [bug#72396] [PATCH v2 2/2] gnu: Add zydis.
Date: Mon, 19 Aug 2024 14:19:04 +0800 [thread overview]
Message-ID: <87o75pavc7.fsf@iscas.ac.cn> (raw)
In-Reply-To: <6c2035f759a89750900eafc23f7ab943649d8e28.1723947780.git.mcsinyx@disroot.org> (guix-patches@gnu.org's message of "Sun, 18 Aug 2024 11:23:00 +0900")
[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]
guix-patches--- via <guix-patches@gnu.org> writes:
> * gnu/packages/engineering.scm (zydis): New variable.
>
> Change-Id: I6e0b04e1d957f8c172e81177f6669415beeaf20a
> ---
> This patch is identical to the one in v1.
>
> gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 24dc4f0197c7..fba30809e18b 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -1951,6 +1951,37 @@ (define-public zycore
> and a fallback for environments without libc for Zydis.")
> (license license:expat)))
>
> +(define-public zydis
> + (package
> + (name "zydis")
> + (version "4.1.0")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/zyantific/zydis")
> + (commit (string-append "v" version))))
> + (sha256
> + (base32 "15iw6wcg2van8pw54xs15zk5cniqm8d8vbd1w1br9azv8jxsqjva"))
> + (file-name (git-file-name name version))))
move file-name before sha256.
> + (build-system cmake-build-system)
> + (arguments `(#:configure-flags '("-DZYAN_SYSTEM_ZYCORE=ON"
> + "-DZYDIS_BUILD_SHARED_LIB=ON"
> + "-DZYDIS_BUILD_MAN=ON")))
use gexp.
> + (native-inputs (list python ronn-ng))
> + (inputs (list zycore))
> + (home-page "https://zydis.re")
> + (synopsis "Disassembler and code generation library for x86 and AMD64")
> + (description
> + "Zydis is a decoder and disassembler library with the following features:
> +@itemize
> +@item Support for all x86 and AMD64 instructions and extensions
> +@item Optimization for high performance
> +@item No dynamic memory allocation
> +@item Thread-safe by design
> +@item Smaller file-size overhead compared to other common disassembler libraries
> +@end itemize")
> + (license license:expat)))
> +
> (define-public asco
> (package
> (name "asco")
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2024-08-19 6:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 10:12 [bug#72396] [PATCH 0/2] gnu: Add zydis guix-patches--- via
2024-07-31 10:14 ` [bug#72396] [PATCH 1/2] gnu: Add zycore guix-patches--- via
2024-08-15 14:19 ` Nicolas Graves via Guix-patches via
2024-07-31 10:14 ` [bug#72396] [PATCH 2/2] gnu: Add zydis guix-patches--- via
2024-08-18 2:22 ` [bug#72396] [PATCH v2 1/2] gnu: Add zycore guix-patches--- via
2024-08-18 2:23 ` [bug#72396] [PATCH v2 2/2] gnu: Add zydis guix-patches--- via
2024-08-19 6:19 ` Zheng Junjie [this message]
2024-08-19 7:54 ` guix-patches--- via
2024-08-19 6:17 ` bug#72396: [PATCH v2 1/2] gnu: Add zycore Zheng Junjie
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=87o75pavc7.fsf@iscas.ac.cn \
--to=zhengjunjie@iscas.ac.cn \
--cc=72396@debbugs.gnu.org \
--cc=mcsinyx@disroot.org \
/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).