From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mLqbL8MDsmF06QAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 14:25:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8O+FK8MDsmGiTwAAB5/wlQ (envelope-from ) for ; Thu, 09 Dec 2021 13:25:23 +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 7A5D1335AF for ; Thu, 9 Dec 2021 14:25:23 +0100 (CET) Received: from localhost ([::1]:35398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvJQI-0007y5-KK for larch@yhetil.org; Thu, 09 Dec 2021 08:25:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJPy-0007uw-HI for guix-patches@gnu.org; Thu, 09 Dec 2021 08:25:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvJPy-0007I5-9A for guix-patches@gnu.org; Thu, 09 Dec 2021 08:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvJPy-0002jd-5R for guix-patches@gnu.org; Thu, 09 Dec 2021 08:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH v4 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:25: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 , anothersms@gmail.com Received: via spool by 51885-submit@debbugs.gnu.org id=B51885.163905624210403 (code B ref 51885); Thu, 09 Dec 2021 13:25:02 +0000 Received: (at 51885) by debbugs.gnu.org; 9 Dec 2021 13:24:02 +0000 Received: from localhost ([127.0.0.1]:42846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJOv-0002hF-CV for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:24:02 -0500 Received: from out1.migadu.com ([91.121.223.63]:64191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJOt-0002h6-3R for 51885@debbugs.gnu.org; Thu, 09 Dec 2021 08:23: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=1639056233; 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=OdCMp2jBpB5heuIc8gwjOZEmFfiqps4kMVeW21+Sj34RHpl2A8eMbWIVzciGJT91pYFAA8 1FJjhXjKHQi0iiJwMeaqbDc97fWB4y83+Orqo8ypiuhFREFCYRVMM7O+wkRfwgG7YLpFtl 8av4oqaJ7S6j5BZD1VVehnaZQGN3WH1OlMD8eDKmwgYimd/p5Vzkn+R2JduY+y6GyNYeTY 1i5dJT3E+y/+AnVP5F1wme0RlNREZ3p3kmOdlNtOcLi27b3Qkol+KeHui7sr+PoI0UacYW 9Ylri0gqGJb6vGg6g3sGjQbDHM6MSB47MXw7KcK2SYBUM0os28uMkLQ1Si89rA== Date: Thu, 9 Dec 2021 08:23:43 -0500 Message-Id: <20211209132345.2018-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=1639056323; 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=pRX8rxsdYRWBIb+E3kboRPSuoDvDTBLa97qMM19paY3i4j/oIggs+GBrzW2GlA0zyiL/ze fOdApL0HviliNq4M10ZsGXUb4JIWWHht9G7YsByrZZKObnBaJTz5ZfoSV8v5zVVPxhpHPX szUXBgbZTC0Bs30ANk7WLolCdnF8u7d9ubPGgCTnX1tpdZmXP94IZnMAoa7a9mFI3WVQA3 MYr+H2tRKRxA7AHiWdMOWaSsLyjz1NHyKd1gwQ8t3PNxn59mjXOBBQVEXleIUbIh+E7oKB xcajMts+S/v0yBg/9h2HXxiV1Mu+2lktOsyBvChSCzvEL54ze5NS/DReR7wGUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639056323; a=rsa-sha256; cv=none; b=EHLKnXtqBws538oH61rzERYrC9P/lmmCqCIZmBvyf/XPJR5/rrMp23XqzkS599XCOF0qaL FnY+pliioHQAmS23VCSOfGNsRoSIXo64HHxwDWKKIXdSs2RXwcbQH1XvAwQmcBi1DKvX01 xfx6QFzmwbwaD2AwMT1iEsM7GKT5t6AjU3DQINBwrL2Vr2HQ+DB0kVAbod0R8yzhSf15f4 AJYVTXGtpJwhzCygfde9VftgZkpdX1/NDkOW261YTg+gq7hCiSc1lX0JeUnpJyF+Sp9nzP f3jTByiaMvAxcIO62zfOm3oPz/uO5WSdPhwx5JuGC8mbYZP/no3Pjf41CkJGLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=OdCMp2jB; 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=OdCMp2jB; 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: 7A5D1335AF X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: fqQ99iLfk0sO * 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