From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EL3mFKkGsmG36gAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 14:37:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WDDVEKkGsmE6UgAAB5/wlQ (envelope-from ) for ; Thu, 09 Dec 2021 13:37:45 +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 0A65336D7E for ; Thu, 9 Dec 2021 14:37:45 +0100 (CET) Received: from localhost ([::1]:46140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvJcF-0008Ij-Ni for larch@yhetil.org; Thu, 09 Dec 2021 08:37:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJba-0007pe-Fa for guix-patches@gnu.org; Thu, 09 Dec 2021 08:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvJba-0003PM-6n for guix-patches@gnu.org; Thu, 09 Dec 2021 08:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvJbZ-00035p-TK for guix-patches@gnu.org; Thu, 09 Dec 2021 08:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH v6 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:37: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.163905698711806 (code B ref 51885); Thu, 09 Dec 2021 13:37:01 +0000 Received: (at 51885) by debbugs.gnu.org; 9 Dec 2021 13:36:27 +0000 Received: from localhost ([127.0.0.1]:42913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJav-00034H-Lx for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:36:27 -0500 Received: from out0.migadu.com ([94.23.1.103]:48137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJas-000347-Sk for 51885@debbugs.gnu.org; Thu, 09 Dec 2021 08:36:20 -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=1639056978; 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=A5gOwYb+F0EYZPHOytZeSG10y6JqiQOr4U/4J5B8Z5Xbx3sl6ngeE+1Ha8tChmB9ZNzLCK b9yMTt5em0bH25LwhYhWMrFIqI53QJ+9SmmedvipbgxfZAc1XvSmc0Fvi/At/pXSVQeukd pqMKDUYFYR49TI2EixfT2bO7bROcaVeMCXLeZRE8DRolCg+XlRZE3FLtS9qNwW7LzsA+0b 4zS4Pw7FjdGQA44GhbAOtPXs8+8tw9k5u+d0fF2/IahQN1RWVS3IinaKOpiQYoj1Ji5xOF JErOh1mAqJtICTjPth1a/gTZNo5PrZYxMxXmxdrpYxDmepAreHOA1WV7asixZw== Date: Thu, 9 Dec 2021 08:36:12 -0500 Message-Id: <20211209133614.2574-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=1639057065; 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=j/kNLAVJGYv/9BYbFksB39y5soRaWDCLtENV5d8Zgt+bZwySbsDdgwkkEEtSKJJdiEubE7 uiGuMDYVLR5r9WULmLLPkCwlv6+hLTKBXo8mB/e6zoURANTvaLR8GD/Tk0XlldTmFpdowi Br02UIZDCfKYjrBEJ/cbcJTC8lZDMBUZfF6BlRDIkNDRHrslp34+DqoTAJtPFWSHKPYRy2 O1SVvnVYyciDDPkVO+k1EcKGvMHdA2Et3ec0pQibB9FYYglWgLu/wx7llvGTnP26MPfSmv Hr1lWk9nS+9/pb7QQgEP1fgKNh9suUIAicP0lfNB7i+tHdZjmLoa9Yi819ON+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639057065; a=rsa-sha256; cv=none; b=H1jrqalF0s/5/yXt0Cu0vRYI6DO61aUCUDEeJLw9mzbXFe4O9CDR4FTOIeJ/z+YfFgJ682 BUMrh7G+CqnBpZtkg/6SI/C3I3LtLKareESD6WQC6mQ+exzp+Leg1EDF4DqFoUNkA1h65r TTljOU2hUL5IcHnc7SdFnSYb1aCcM2I5QgFuVJA+YgQxP98uDI+6GFkRSMHr7xY4PZJ7+N Z9+CAFWFXsOCp+qlmljq4QZSu5noBVk/H6rf1+JKsdTJW45vaT+VYfdEANk/NhpgaN9HVd cVRiggH04WNRvDdYQVStHedOq4h6M23HPHeBX/Zw64oHej1qi6TODF8TtIPzNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=A5gOwYb+; 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.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=A5gOwYb+; 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: 0A65336D7E X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: VWtp01DIuMcN * 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