From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OPlbJz6r8mLSCAAAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 20:45:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CKdwJj6r8mIWZwAAG6o9tA (envelope-from ) for ; Tue, 09 Aug 2022 20:45:18 +0200 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 4583DEBFE for ; Tue, 9 Aug 2022 20:45:18 +0200 (CEST) Received: from localhost ([::1]:45596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLUE9-0005c1-E2 for larch@yhetil.org; Tue, 09 Aug 2022 14:45:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUDv-0005Us-Q8 for bug-guix@gnu.org; Tue, 09 Aug 2022 14:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLUDv-0000tK-FQ for bug-guix@gnu.org; Tue, 09 Aug 2022 14:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLUDv-0001E3-Ad for bug-guix@gnu.org; Tue, 09 Aug 2022 14:45:03 -0400 Subject: bug#55657: [PATCH 0/6] Add native compilation to Emacs References: In-Reply-To: Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 18:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 55657 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: guix-patches@gnu.org Mail-Followup-To: 55657@debbugs.gnu.org, liliana.prikler@gmail.com, liliana.prikler@gmail.com Received: via spool by 55657-done@debbugs.gnu.org id=D55657.16600706564224 (code D ref 55657); Tue, 09 Aug 2022 18:45:03 +0000 Received: (at 55657-done) by debbugs.gnu.org; 9 Aug 2022 18:44:16 +0000 Received: from localhost ([127.0.0.1]:44974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUD9-000164-VR for submit@debbugs.gnu.org; Tue, 09 Aug 2022 14:44:16 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:47038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUD9-00015q-85 for 55657-done@debbugs.gnu.org; Tue, 09 Aug 2022 14:44:15 -0400 Received: by mail-ed1-f68.google.com with SMTP id s11so16196303edd.13 for <55657-done@debbugs.gnu.org>; Tue, 09 Aug 2022 11:44:15 -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=Q0FTiI3XdjeIhcQ/AClTMSKhZh1jRsluh5Uf4gVeu71nbPWvdPLH7rGFsan3VvdRAI q+KodBwmstpU5xT7xswlxqs5Af0dpqBV1qJblsMSLh1Gs15jq0CRI4UjbEju0bqPRNW3 zqqgf0v9OH/LRV5zDIubWBQfdm7Icz2ruibIl3E/QLZy4ImVEAC0FzIDB/Xk1+GGzq+X 8HF8cS9cnw/mN8ACKOI+pC31S+4vmur1AzfMbvvJGHXGcaffN39sRRCpCnNRHcS9d8ER XXsn0IZkn7cJ9Bu3PmefLy3ypkwjNtBf3hle42+4frz6k4BwCfAsOZk5cULzzdBqLEJP cXZA== X-Gm-Message-State: ACgBeo0avUUwYa3aI0VPEbag5ZFiSrqSHOJluPHDhhWJEY4znCkQNK6J L3xtTGxr5fhf0WRevcqBb2RSIco921Y= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Message-ID: <4c232648145659a2c3edca6d32725d8120cc14d3.camel@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660070718; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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=nXGnp29Sb9Zc0LOYlw9L1aKw2zTu/r6ga8TfBuZqKEI=; b=aa4RJp6yfQWdGD4LAvyAK0b7v0mGj8gurdGBAnBcUd+hzdu0rUHpOBFA5sdj85T80GmN5g FqbF69lsc6vpc13relamW+R/rVI5r807biSfoisAbIHumtLdjp2l/Qn2VK4hig7qk7YBEw uzoXwN45ivt70emmdmY498ZVhcRNkkEgx/cuZ4NxRKHDjHk21OkLuJ3sHL8FwCDBk/Tce/ ZzTlWTmuSfs0AK9DaGdMel9586Tj7JCNBstIhaSIVx0PN6t4hgQYZggpb55fT9cw6zyUaD ybh/1U4dNcLOQdVYcopV6Fv7P+jsrpidBy5b6dDPcE7NGdCTBzBOVxPJh2733Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660070718; a=rsa-sha256; cv=none; b=ITSNaewf1J8yk4CAEMCD5wJj0y99zUtGOemFImxe/2teV9pkXIDq2r+zUdjDc4PlD0OwaT 7bL9WjtKmUjXLWDkjVRFZuRhF2SZIqBlfw34iBP5FetaV3G58FrTasfpKfKk2cOu72sDaQ jK0bTJpcSjWZRCD+8wFw6UwkirNQ2OCz+E7ZgtlSH2sjuCdtNKkIy7pHqdkmh2fV6ofN+6 zVFzfyPwegZL4Cm5uK0u0FJ78Lp2HrIoGMVs1UTjAlxD983JjobUfs1c7BfIFCv0xnuJsm hl7dAshLAx2vhL412vvi22adBkxrrSWddfdG8dzsEZheDLkxqGSklzKv+u3ztw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IIgg8nA+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IIgg8nA+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4583DEBFE X-Spam-Score: 5.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: YpYMLPFLj8XM 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(-) -- 2.37.0