From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4PsPHoAGsmH38gAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 14:37:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +JzOGYAGsmGbVAAAbx9fmQ (envelope-from ) for ; Thu, 09 Dec 2021 13:37:04 +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 061C81A056 for ; Thu, 9 Dec 2021 14:37:04 +0100 (CET) Received: from localhost ([::1]:45354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvJbb-0007m7-4V for larch@yhetil.org; Thu, 09 Dec 2021 08:37:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJVp-0002vB-71 for guix-patches@gnu.org; Thu, 09 Dec 2021 08:31:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvJVm-0000Ze-M3 for guix-patches@gnu.org; Thu, 09 Dec 2021 08:31:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvJVm-0002vR-JA for guix-patches@gnu.org; Thu, 09 Dec 2021 08:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH v5 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:31: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.163905666011231 (code B ref 51885); Thu, 09 Dec 2021 13:31:02 +0000 Received: (at 51885) by debbugs.gnu.org; 9 Dec 2021 13:31:00 +0000 Received: from localhost ([127.0.0.1]:42890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJVh-0002v1-HT for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:31:00 -0500 Received: from out0.migadu.com ([94.23.1.103]:46009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJVb-0002uk-NM for 51885@debbugs.gnu.org; Thu, 09 Dec 2021 08:30: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=1639056649; 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=uv+9sRTifYM/cfxtnyF7jmj4M6XawE9fdXV0yVaw5CurJfd2xleUn7gqURoxHqVy53bwd8 7WkZAPdmgh3mng8eylrcxtatPgRr06ILJwXQPoOF9RKJpynuMww8Afz81ow7tVvncqa4hM 487YqQcUE5WbNU+nouPfHbymrd0OCZG2azZjJHep3naz3d5Etza/cuyNKUB8UpJqy5vzfm VTiO17aOZsKctTz24y4mDvanIo/PiYxPYa9bFMw6/CXxmQjMJqPCsQBptuweM50fQ2n2+b N8Mp7rPbrXPHZ9r+CvXchHY0rTGn9djURxM7gyU7kF6Krjtu49PQbOnffoTYFw== Date: Thu, 9 Dec 2021 08:30:43 -0500 Message-Id: <20211209133045.2311-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=1639057024; 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=ehtq+RwWXYNCaLFy63unMJFgFAPvBwpNko3E0NRwOeXI/cifa13C5U6bVRGpY9dMcL9r60 0r6p8/kMwPYIGLfNb7/hyFU/RjhZ+YPpOjWuZVDC3h1ymAKL6XmMVdfBN2A/Hfp7VDxkAL bV0YcWXwUkboDEyBJha61XicE2k2iJ7qLkIKBToRL5EucNQtsAFUR9TviwdD8gzn6sd/Sl HcMpH60cmDoydj8nfk6X/jjqi5jxO+4FJYAPsiQKEa8Dh+10u7D4dEZvYghuz4U7gET8hK LvZrkcpAizUDCB6uCuox3sq403rZruG07e8X3KQOuJiVSvMUImp4mMpW9cC9iw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639057024; a=rsa-sha256; cv=none; b=tLk+O2JTQA5v5QwtgUJgGPKKF9rUvqDWgJ1TBzy/OSBmPh70rzRcqGqVvFmQZbr815V42G OfIUE53OUq221qSZhTWCatGXHDQR6Z4LJL3boABRKrI/usa4y91dq+EgyHoVdX5vob234x PNEQv9p0bBXJ/QQM5/EEOUEGtCk9eLR7z6L0RVo3IuhHo9nG6/8qCgAe9iy1JKXh140mPu 1TNrtWsTpufqaAPGnsLjIyJ5TmbimtldJuW7yAOO6u0t7WI0iMkd6iL05fzez7yaYk9xTF 9ZL6cZwE+jXucekHDwpGhuq0yjSekPNDD1gNzGQIEcdekLuTm2t/Uhibem8FmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=uv+9sRTi; 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=uv+9sRTi; 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: 061C81A056 X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: HXBAeCoB+oU2 * 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