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 MNJqC5ILsmFOAAEAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 14:58:42 +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 qPBQB5ILsmExPgAA1q6Kng (envelope-from ) for ; Thu, 09 Dec 2021 13:58:42 +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 C851F1A9B4 for ; Thu, 9 Dec 2021 14:58:41 +0100 (CET) Received: from localhost ([::1]:60154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvJwW-0004Il-5y for larch@yhetil.org; Thu, 09 Dec 2021 08:58:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJlI-00083V-Bp for guix-patches@gnu.org; Thu, 09 Dec 2021 08:47:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59623) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvJlF-0003Is-UQ for guix-patches@gnu.org; Thu, 09 Dec 2021 08:47:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvJlF-0003LQ-My for guix-patches@gnu.org; Thu, 09 Dec 2021 08:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH v7 1/3] 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 13:47: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.163905756212743 (code B ref 51885); Thu, 09 Dec 2021 13:47:01 +0000 Received: (at 51885) by debbugs.gnu.org; 9 Dec 2021 13:46:02 +0000 Received: from localhost ([127.0.0.1]:42928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJkC-0003J4-KE for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:46:01 -0500 Received: from out1.migadu.com ([91.121.223.63]:17688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJkA-0003Iv-FQ for 51885@debbugs.gnu.org; Thu, 09 Dec 2021 08:45:56 -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=1639057552; 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=lgQoS4KiJN6x4G8VQ6pO4MvoGqcPTnQW8lNFGk+GI7h7LH5fX5V67T7mN8c6V364MfSkYp 3IsdpG7Njzkr+fPh4YdfBUrRGe/N6J0wW7vSKcswSUuOkYY6beFB28fWXVICvJq2v6x35i e4E5WzMcoXel378gyCoWlt8fEYBK7VxOd1SmQmS7vlXCwHdjAy/DNRAVIA0NBsx5cDoBoa YrrjPAx0TbFKGGGHx46MVjKE+9Uz3clTQ0S2O9Z74obobXIWgmhZ9TJicOegDv0rLbDi0d A0HF9DM3PEhATrPeOvW7qrXnmup2z2IwkmtPvMur7Ihyx4aiNqcq1J6g1/jGbg== Date: Thu, 9 Dec 2021 08:45:45 -0500 Message-Id: <20211209134547.3139-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=1639058321; 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=n9ZL/uzUctsjt29E7r68FKpfMYZ01L4I4xb1zl9D3oWcduIJUfKi9bHk+nBNTBgY+ucAum DN8bMHgLo+r58LEEPX2zorrYW7CKyuXDgcR3ooStO2uQOR+tqyEA+JzlwaofMxZORgaa3b M4MYUCKXoc/jExe6kpPecLKG1Rk7iF1Tn+Gjaqwae4En3gWNGga5uKmd4u2MKLiMR48C1V eyQlbaCtksYJ9eVTl1Sjh36bqRijperyNzbboM8cn7TQwtaHeHW1rWrFKE5M+lFgap965g Jo+td/sxjZrsePV1YlHOZ74PnKs16kLRGaV9YPrcM05HFaJoBJHFU28FZZxbTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639058321; a=rsa-sha256; cv=none; b=uwm/uGG8GBfuXivdQBsrfkTLyJVh2AQPcca1EpsZ4ZCOaE8Te1p2es+R7l9GuScj5If0Ug 9w1IFMSVW0KY/MqV/MxZVB30k+0j7ByHxzlE44s9ukqTYxwBn9/iv4srtzpkSpw5/sNjXP FSbdvFxQ4mzoaQHo+EuUbbypUjO7lUXrVxI5wxd6jrHsu2IJDNFStaLFKW3XDe1z6PLt9x lJfj0bjbeRy6dayUzm330CgxV/Qe802slIxdt+J1oHHdvczhJbuJnqHwG1r5tqMmABFDuD IQEP0Yke/pWkERbk2i4AGiXCgCtZX9NhPcM8/dUttB4watjsjtWO2lsjnCbsMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=lgQoS4Ki; 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.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=lgQoS4Ki; 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: C851F1A9B4 X-Spam-Score: -3.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: GYt3P8HZwTG0 * 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