From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uPTzE73TomGMKgAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 01:56:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IFSfD73TomFuCQAA1q6Kng (envelope-from ) for ; Sun, 28 Nov 2021 00:56:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 17F0523531 for ; Sun, 28 Nov 2021 01:56:29 +0100 (CET) Received: from localhost ([::1]:47936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mr8UW-0000Ru-6D for larch@yhetil.org; Sat, 27 Nov 2021 19:56:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr8U6-0008Bh-G7 for guix-patches@gnu.org; Sat, 27 Nov 2021 19:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mr8U6-0002ay-7F for guix-patches@gnu.org; Sat, 27 Nov 2021 19:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mr8U6-0006BV-3i for guix-patches@gnu.org; Sat, 27 Nov 2021 19:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH 1/2] gnu: Add asmjit. References: In-Reply-To: Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Nov 2021 00:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51885@debbugs.gnu.org Cc: Raghav Gururajan , Julien Lepiller , Disseminate Dissent , guixrus Received: via spool by 51885-submit@debbugs.gnu.org id=B51885.163806095123723 (code B ref 51885); Sun, 28 Nov 2021 00:56:02 +0000 Received: (at 51885) by debbugs.gnu.org; 28 Nov 2021 00:55:51 +0000 Received: from localhost ([127.0.0.1]:34731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr8Tv-0006AZ-IA for submit@debbugs.gnu.org; Sat, 27 Nov 2021 19:55:51 -0500 Received: from mx1.dismail.de ([78.46.223.134]:5136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr8Tt-0006AJ-52 for 51885@debbugs.gnu.org; Sat, 27 Nov 2021 19:55:50 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c4650298; Sun, 28 Nov 2021 01:55:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=XEaIVb1yEjw718Wf00u8gGWEhQD6Jo40WrU8YGtwBSo=; b= OcpX8arkUrEGBiZYJrPvQVzrcvHmSrExlv2I89mDs2SCNcdsk8tHSoAR2JoWiLhF Iq0gVijMM7VEAf2CFginYUV0aAQ6q6P1nf/qZtcRIgxShi5N9x6TwPUFbJq1bDMu IrQXf0g9fKRaJ7SUs8lob1JRXgO26xdr+VF/3CTcVDr+Lypx8e7si0/Q+yJIiphO 0GcC3YJ+mcJGSA5zWZQOROlF603ehAMKYsfTv1PYt45DmEGKQZL4U9xnjmsZbXJp us/7fx9pDm/30eEc/qkW09yvH6tiSZg5oO84yPMfffjbK01Jgkl3YjNh7N2lgn6N 8+06RIjlP67fZweX+D0PZQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 088b4cb2; Sun, 28 Nov 2021 01:55:41 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 575d2ece; Sun, 28 Nov 2021 01:55:41 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 40a602fd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 28 Nov 2021 01:55:40 +0100 (CET) Date: Sat, 27 Nov 2021 19:55:26 -0500 Message-Id: <20211128005527.7661-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638060989; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=d29YkahLHnz96Y4THYd7ww4A64coiA2QwyqPdPjYc+Y=; b=PuEzHvmqPEBecl/UmZIF4NuDz1Lt9+GXIZWDbVwvyFfJYfbAtYaea21O2AbRfAt0dJNPMF ujL5NRdcxuzG264yikxK7l3N2pRUPtiVdaSdItkwjnyedL7cd3bPO4ghjTIJ47i0S8yW7R 7R2gf8b57fVlbOFb9G6A01tBKrcwMGgUbcU8aLXwR/Xc0Td/pVLK2OMx9fwQ4eiihIyoVh i89EewnP5HGaHdSRG2szcjDr8szxR11NP8HvjpbJ0UX8gBt6mLwyCXHClw+htAt8+A6Tzr SH5618QLN03a55e0l3lN4/bv2PoV4IbTd6gSTfW0UzE+6yuCGbF8+f4UqBgI8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638060989; a=rsa-sha256; cv=none; b=jVY6rIhGPah8tsgpIb7wki+jrQIBpozm9Z818XeaWjo1ApqWY6QDu23nQ2UCREkamsP2Lh kaL6x8FXr8ODXFA1wuniZOokDIit2oc2CEOh2VhoS9Sw1A+ApMLMNdC3qD33FcxM230waE 2e9xwsyEchpJxFgTCISGwcg/gccrr/5v+ClKYJVSk/IkhmB2CrO90MfkgBSdtNq0IlXRBi b2URMsbNZIKigfjxId7ygw7J9q9dRoduRSdEJRimvr5YJBo8uX99BXtpCJT831/H1wV1OF 2Vadomn7fVt7FDAqOjnVysgL2BtAw924BXW5/0EC2A+I7TbBu4d9wdh/1NFwlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=OcpX8ark; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=OcpX8ark; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 17F0523531 X-Spam-Score: 0.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: CN0PojMdzAa4 From: guixrus * gnu/packages/cpp.scm (asmjit): New variable. Co-authored-by: jgart Co-authored-by: Raghav Gururajan Co-authored-by: Julien Lepiller Co-authored-by: Disseminate Dissent --- gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 9520a164f1..8ed639cc49 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1373,6 +1373,38 @@ (define-public jsonnet syntax with variables, conditions, functions and more.") (license license:asl2.0))) +(define-public asmjit + (let ((commit "4ec760a3d1f69e32ba460ecd2513f29b8428700b") + (revision "0")) + (package + (name "asmjit") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/asmjit/asmjit") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0skgccbpamcbg1byawfq5n6jzxgj64hnc7jznvk35nkskaaz1nlb")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + '("-DASMJIT_TEST=TRUE"))) + (synopsis "Machine code generation for C++") + (description +"AsmJit is a lightweight library for machine code generation written +in C++ language. It can generate machine code for X86 and X86_64 +architectures with the support for the whole instruction set - from +legacy MMX to the newest AVX-512 and AMX. It has a type-safe API that +allows C++ compiler to do semantic checks at compile-time even before the +assembled code is generated or executed. It also provides an optional +register allocator that makes it easy to generate complex code without +a significant development effort.") + (home-page "https://asmjit.com/") + (license license:zlib)))) + (define-public simdjson (package (name "simdjson") -- 2.34.0