From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yHoVOaz6pmGnUgEAgWs5BA (envelope-from ) for ; Wed, 01 Dec 2021 05:31:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IJXFNKz6pmHHTwAA1q6Kng (envelope-from ) for ; Wed, 01 Dec 2021 04:31:40 +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 8BE21337BF for ; Wed, 1 Dec 2021 05:31:40 +0100 (CET) Received: from localhost ([::1]:54442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msHHO-00022T-MM for larch@yhetil.org; Tue, 30 Nov 2021 23:31:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msHGo-0001Yj-71 for guix-patches@gnu.org; Tue, 30 Nov 2021 23:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msHGn-0005U8-TZ for guix-patches@gnu.org; Tue, 30 Nov 2021 23:31:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msHGn-0006sw-Q4 for guix-patches@gnu.org; Tue, 30 Nov 2021 23:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH 1/4] gnu: Add asmjit. References: In-Reply-To: Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Dec 2021 04:31:01 +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 , jgart Received: via spool by 51885-submit@debbugs.gnu.org id=B51885.163833300622994 (code B ref 51885); Wed, 01 Dec 2021 04:31:01 +0000 Received: (at 51885) by debbugs.gnu.org; 1 Dec 2021 04:30:06 +0000 Received: from localhost ([127.0.0.1]:42972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msHFt-0005yL-71 for submit@debbugs.gnu.org; Tue, 30 Nov 2021 23:30:05 -0500 Received: from out0.migadu.com ([94.23.1.103]:27053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msHFk-0005vK-Vq for 51885@debbugs.gnu.org; Tue, 30 Nov 2021 23:29:58 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1638332995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=/KZls/OxpN+bL3ukMtrmoKvw4S0thtYB/s1q+q+I7+4=; b=EcTMW0kRAXMgiZ/L3c9qDTLtm9PjNr4EYZ4MneSQKlxvHWWVY/kDpKece6P+Br5O5uATR1 uXZblfgLFdYECJwrjsA/G30iTkfYH87+OD1LV4TVNdnYoaCmDYVKrswAH7NQI/61SUpq32 ttG/5p/A4txKfD3qnt8T9Gt5J1ftYmjdm348lhZaPb21H0Za62pkmFd+sxICbP7grZjOm/ B3boLueoFyCt08ZPvJorGp21qdj45SN/yGVtQdiX6uQ4rfkgIAiK6F1yAll1MT0J3HiWu2 OYpjjOcwmCOExl+FGPbmD0bbpqxBLHSixZVvrdJ/zpZrLsJChe7Jr3RC6uV0GA== Date: Tue, 30 Nov 2021 23:29:24 -0500 Message-Id: <20211201042927.18454-1-rg@raghavgururajan.name> 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: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638333100; 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=/KZls/OxpN+bL3ukMtrmoKvw4S0thtYB/s1q+q+I7+4=; b=nZCeP8KdcYCxFa0YERNA6sKTgSvzOiIPG65m52U+qvQsyuEKDFGsKOwkx6tSacTg9zcmI0 1+UOj/jnY8pUgDdCCfP/UDdGINkIYZnOWxhcibgE3Ny5v9fiqZNSrGVzLCjmyNGHu5BiQO 6wNAokOaAik+1JbSnv6UwoL5Bl1ugpvROVDmhIcA/TgKHPsJQQGyzZjMRIfzcb0eyftz87 g4VNCwzTQgj8ehv22ES7cCZmItvbcs3joABXn+KQv+CBAPS4VSPjCBx7p8OBhGMulnkmIM f5P+UxveuMvd3i2Kuoxb36GEnBReV0L7dge5rh02TwGELEZOD76/Zi5ym1CbxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638333100; a=rsa-sha256; cv=none; b=cWdWmX08+y44Qr6Te/U804NMHXnIiLh8ib0JwSwp6h/Rr8MM6JctrMTRoYosdNxgORQ+tO Es6/o/+JDMQbYRPMxec/lJMG89qmO0es36DfGGJuq/nyLuLroC/lu6WA6YFaWYxc+rxo3E zzGi3eSVZrleQQPc5zyvVRefhEXx9O+Zom0IC69KzhBbFi3IONqltwgJYjjVkwT8MwWGp0 ghnQuimBux9J8gZKd0oLV1m7zXIIM5DZB6+xuuCisYsSJ+w3hqZlmAf3fZNtmavB1QAq3K QZ5S7yNg1aow9DqllgvrwijXOy8YRfOZeQIejF8Y9tw3iZ0qu+nJxqT8xcsGUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=EcTMW0kR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=EcTMW0kR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8BE21337BF X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: cULvQ3UpgEVn * gnu/packages/cpp.scm (asmjit): New variable. Co-authored-by: jgart 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 e2f2279418..b8741a9be7 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -74,6 +74,38 @@ (define-module (gnu packages cpp) #:use-module (gnu packages web) #:use-module (gnu packages xml)) +(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 + (list + "-DASMJIT_TEST=TRUE"))) + (home-page "https://asmjit.com/") + (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.") + (license license:zlib)))) + (define-public range-v3 (package (name "range-v3") -- 2.34.0