From patchwork Tue Aug 9 18:37:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 892 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 25C9727BBEA; Tue, 9 Aug 2022 19:45:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DA17F27BBE9 for ; Tue, 9 Aug 2022 19:45:28 +0100 (BST) Received: from localhost ([::1]:45470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLUEK-0005VI-10 for patchwork@mira.cbaines.net; Tue, 09 Aug 2022 14:45:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUDu-0005UT-Cr for guix-patches@gnu.org; Tue, 09 Aug 2022 14:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLUDu-0000pO-0B for guix-patches@gnu.org; Tue, 09 Aug 2022 14:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLUDt-00017q-SO for guix-patches@gnu.org; Tue, 09 Aug 2022 14:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57086] [PATCH 0/6] Add native compilation to Emacs Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 18:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57086 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57086@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16600706584239 (code B ref -1); Tue, 09 Aug 2022 18:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2022 18:44:18 +0000 Received: from localhost ([127.0.0.1]:44977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUDC-00016J-AW for submit@debbugs.gnu.org; Tue, 09 Aug 2022 14:44:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:59936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUDB-00016C-6J for submit@debbugs.gnu.org; Tue, 09 Aug 2022 14:44:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUD7-0004jB-5j for guix-patches@gnu.org; Tue, 09 Aug 2022 14:44:14 -0400 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:40672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLUD5-0000jD-BW for guix-patches@gnu.org; Tue, 09 Aug 2022 14:44:12 -0400 Received: by mail-ed1-x544.google.com with SMTP id f22so16225481edc.7 for ; Tue, 09 Aug 2022 11:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:mime-version:to:content-transfer-encoding :message-id; bh=nXGnp29Sb9Zc0LOYlw9L1aKw2zTu/r6ga8TfBuZqKEI=; b=IIgg8nA+EeWL0KQD6syTien0UQBqvKqQNxU88Fqur3DNvRF/DXusXhMdew9Tkhb1FP CgTAqAHYwybV56+bRJccaZ3/VAkRrSVcwzuYdd9JP7h1cDmEYXO/6jtichlacKTiuwsY Mv5z7x1aIVljLbKD0gSIFRCD0YRABV7GlH+urshyRRx/+h/sSPuT4Ddjh/MK44QN8Szg VivcXMJZSf37Hk8qRfQJTlEP334YRR3aT4/t1iIHlcx6K+Ld9XMigom0sGwQAqv39+Fy qkkTCe9moVORapylw1is0Soy+HmKlfDcUD8wvsqn2jAu1Uh2BwH3iMMojlBOXGUdlEOx /POg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:mime-version:to :content-transfer-encoding:message-id; bh=nXGnp29Sb9Zc0LOYlw9L1aKw2zTu/r6ga8TfBuZqKEI=; b=k/x4iQCWAS3SXB+ZHE5pkgh7aGub0jQjDGBiqWfMMqhXinofa2UDIGJORTzlJtXTKn Pg6hUXcezjDixiEu2xuar6j/AKtCQxwiGqKudup3Ii49PUqWl1KU2BqVnwtcJ6UfavGW /cTparAD9ZIKoCI/YVf24FoR/3JPNcR9Qc9DTX58HmbeO002mu+kOtXi48Xw87bkq9i5 CJgeOA9kr2/6l1ej0RCVOAGS8GFkX0EFz7yHER5qsZ1DTp5K8UJys+hXUiCgNwyeN41r 3il83uJ7BagSH4NH01Fnqh9DxQe0Ou6TmRF5DAmED4zIuBMP+MPieXfukkMThBF64aG1 MGdw== X-Gm-Message-State: ACgBeo1uz3+jY7jiWd21w0uUeDYEuvcGI7KtJVi5zN6+JXKm9rxaybOe v9hGsl7mu/CoTuOuHtJR3MmvX0AFALU= X-Google-Smtp-Source: AA6agR6oRUvilP6uqenrbKYa0n70ulk9dUwQy54+GNMo6P9T3o+AofvZKdSK7s9cM7C8WckOtdiTLQ== X-Received: by 2002:a05:6402:444c:b0:43b:d375:e932 with SMTP id o12-20020a056402444c00b0043bd375e932mr22835973edb.399.1660070649193; Tue, 09 Aug 2022 11:44:09 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id cz18-20020a0564021cb200b0043d1eff72b3sm6528719edb.74.2022.08.09.11.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 11:44:08 -0700 (PDT) From: Liliana Marie Prikler Date: Tue, 9 Aug 2022 20:37:43 +0200 MIME-Version: 1.0 Message-ID: <4c232648145659a2c3edca6d32725d8120cc14d3.camel@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::544; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x544.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix, at long last the following patch set should enable native compilation for both Emacs and emacs-build-system. I tested emacs-dash and at the very least native code is generated, though I haven't yet checked whether it is also loaded. As with any shiny new Emacs feature, please verify that the Emacs portion of your manifests/home configurations build and report any related errors *before* I push this and curse your configuration. Cheers Liliana Marie Prikler (6): gnu: Parameterize libgccjit. gnu: libgccjit: Build with bootstrapped gcc. gnu: libgccjit: Build multiple versions. gnu: emacs: Build with native compilation. guix: emacs-utils: Add emacs-compile-directory. build-system: emacs: Use native compilation. gnu/packages/emacs.scm | 64 ++++++++++++++++++++++++++++++- gnu/packages/gcc.scm | 53 +++++++++++++++++-------- guix/build/emacs-build-system.scm | 5 ++- guix/build/emacs-utils.scm | 26 +++++++++++++ 4 files changed, 128 insertions(+), 20 deletions(-)