From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WFvWIIHgsWHBawAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 11:54:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YEurHIHgsWEqawAAB5/wlQ (envelope-from ) for ; Thu, 09 Dec 2021 10:54:57 +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 4B13515F52 for ; Thu, 9 Dec 2021 11:54:57 +0100 (CET) Received: from localhost ([::1]:51708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvH4i-0001r6-Di for larch@yhetil.org; Thu, 09 Dec 2021 05:54:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvH2s-00082i-H9 for guix-patches@gnu.org; Thu, 09 Dec 2021 05:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvH2s-0007I9-9C for guix-patches@gnu.org; Thu, 09 Dec 2021 05:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvH2s-0002fc-8S for guix-patches@gnu.org; Thu, 09 Dec 2021 05:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH v2 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: Thu, 09 Dec 2021 10:53: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 , jgart Received: via spool by 51885-submit@debbugs.gnu.org id=B51885.163904715910218 (code B ref 51885); Thu, 09 Dec 2021 10:53:02 +0000 Received: (at 51885) by debbugs.gnu.org; 9 Dec 2021 10:52:39 +0000 Received: from localhost ([127.0.0.1]:42538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvH2Q-0002ee-81 for submit@debbugs.gnu.org; Thu, 09 Dec 2021 05:52:39 -0500 Received: from out2.migadu.com ([188.165.223.204]:16040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvH2N-0002eU-0g for 51885@debbugs.gnu.org; Thu, 09 Dec 2021 05:52:32 -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=1639047149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ynb+qdia3igzNy7+TqCMWC+lX6waAerPmB4FGiOFL6I=; b=JyyUpryUWHXVj4O+9kRjX/vqCC7Vb2vxs+RRCgoYwrfHd1kVCzhBljXm7kpcmf+fUrkOJb QK1xZFG0lPXs0gLch/tN+t3fSZRTpe2U/K94YWk3A4i04OVr6DqyRNwMkOpMvhZFsu7STg i/VZ23kW3+u9IZkNIJOrIKA3e0j1p+6/kY6x+ckXqdgecfhXe5n7r1Z6+RPD31luZ7Or9V sFMXzLPuy18PkvvKvVPbyIPKMhYK9Iur8teiyhGKnIRuOfxh+ksGPkOhAUTTCSnsl36N+l k26yJetevJRqZu8QtryEGA1BGRyOro+hSyXm0QS7X4kgpI3LHEVMM1O3LDm5kQ== Date: Thu, 9 Dec 2021 05:52:09 -0500 Message-Id: <20211209105212.29412-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639047297; 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-type:content-type: 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=Ynb+qdia3igzNy7+TqCMWC+lX6waAerPmB4FGiOFL6I=; b=nh+SWlipHW/L007yipAa1fL4PgTLP1AELWdIuUjL0TZoc8hZL4z7rc6aFs1gxK34gnXF80 vE0wWVkV0egVatK5/o2+TUPM0yKUd9QgyIoq4ik0z/pekUdb7gBLDY4c1L1cqgvRfQ1CpV 1m3a/ncBy+HVObCiQ+gH60SQqWbhXQJQiFxnw0wRrD4werpBH4KpeHzbItNi1p53hAqfmA Nv9DzCOavpuGXashRno/o0lfkRMvSci31oV5T6Q6+vFAZL/IAWSnk2yFoh1TU0kPgAHxKD L1G3gKK/IL0HV0EDsfeJ950xLAxrZFZvdvHf0HkKkhdXPc+fB7cowP+V6/yv9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639047297; a=rsa-sha256; cv=none; b=Uhj7njmMUl+5fMgisAHeu8Ud9qouQiucQGYmEqxwb6YAdnC7CzKElc1lT6xSPdTuc/pli0 hl0iqG7v2peDhRcAINkOL9+Y6mDLL0dn6olSmtXcOi5o0cJOaqQKb6hxx3xAUHS80tvypy 3KMiDxQh3/yNAB/RJrWHeW5XyLZ8mGPqTIGDqeB0NnIU1wHPvE9apbrtU+vsn+FGyNMsLe jwFEH6Lao0eBa4403dwrfBR86ODM0cveNN34QatpqKpZ0iZoHFx7UQDLrJkunQF7Po+Ypa jVCh4jIkG+VEfuoaRc/NpQhVfjxmeElMGQ9VQffr8JPdDoC60ht3W+YJA1PTTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=JyyUpryU; 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.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=JyyUpryU; 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: 4B13515F52 X-Spam-Score: -3.45 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7grZhecdI1mT * 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 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 9ab6e0b835..bbcdcd6be9 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -18,6 +18,9 @@ ;;; Copyright © 2020 Brett Gilio ;;; Copyright © 2020 Milkey Mouse ;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 jgart +;;; Copyright © 2021 Julien Lepiller +;;; Copyright © 2021 Disseminate Dissent ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +77,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