From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Lightning fast build Date: Sun, 21 Aug 2022 10:36:29 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008bfa3f05e6bd116e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 21 11:38:29 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oPhPY-0003ME-Vc for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Aug 2022 11:38:28 +0200 Original-Received: from localhost ([::1]:52796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPhPX-0000ni-J5 for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Aug 2022 05:38:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPhNs-0008WD-Ut for emacs-devel@gnu.org; Sun, 21 Aug 2022 05:36:44 -0400 Original-Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]:43922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPhNr-0005zp-2L for emacs-devel@gnu.org; Sun, 21 Aug 2022 05:36:44 -0400 Original-Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-11c9af8dd3eso9354339fac.10 for ; Sun, 21 Aug 2022 02:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=LAEf6wVKDGlMFwNGcfBAKbAdltIzKyhOTo0afHV238Y=; b=ouPZn12oBnN0/A6oqmciD/a7yZnoSZQmshbrW8fY4ES4jLQmtloImDxo89lKORiqOj rdKhhARRBK8pvoMswBC4BYwJiBWzCgZTZf1MJ9GfMdQv3CrcHQIMQ/aXd1z7NaMB8UaV sLG1XH944k6v3qko57DODwmt5PXxMLipk2vZjRzcyVmX7GjA8W2zgiPTzW2RTRy32/Lr 5j5vfeknQ6588AV/T/dMOfej2Yq2wzu2kpbKYHmJEVSmIpJxCBkq4hLzOzF8S72L8oSb NueyU4j7wIimj68UkQEcJb7l3RwSf4ndLGISDmysuOKZ7DVfDdsCPDol5LmajKTIV2Qz s1Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=LAEf6wVKDGlMFwNGcfBAKbAdltIzKyhOTo0afHV238Y=; b=Fpd7OC3ncDmlvNROajbZ5HWI0BbVUQKgCbjva72nxhKAl/eeJj9g25ANqUBmvcC81T 4Sh1ySeN5Q2ScnqGJQBtc+gC6M/33zItltMI5P1HzSgdDV4aDvEXl8ki2BBy7BJytLaR ERjFjoK4gz2CXQMkzbm3x34pB8dJYazNKG5ClzHw2Ixx/mqQ8AcfaKWhtGaXkwDUp5W3 B/2LD3eDNKmlC5Xei61TCVlRijL8adSMaAQ/zbIXpkJvrh7OwdsGAhgNOwsMDsqI70Js 8UurqFPBL4bjerQVNjpoSHu0JzTurmuwiKz6WTSnExZr3X3xEzlbWxz9Rg/JMUW8G7Sq sJBg== X-Gm-Message-State: ACgBeo2AMDCD4KN40i5xD6ZRKY53lIz4xFh1ZO9uN3HjMjdiPYvJRHCp 3sHPAMHosTTXLLsBV/pweYWXxCg4F/IkkHI5ing= X-Google-Smtp-Source: AA6agR62AXKS3hHe9/aeG4cduvIyITkvgBC/3ftly98NXcmatC/+UrWdL7w9ePXLuoqQg/1oP/OfOijQCoVDtXeK1aY= X-Received: by 2002:a05:6870:ac2c:b0:11c:743b:8c9f with SMTP id kw44-20020a056870ac2c00b0011c743b8c9fmr8908381oab.209.1661074601145; Sun, 21 Aug 2022 02:36:41 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2001:4860:4864:20::2c; envelope-from=joaotavora@gmail.com; helo=mail-oa1-x2c.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, HTML_MESSAGE=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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293682 Archived-At: --0000000000008bfa3f05e6bd116e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Gerd. Out of curiosity, and speculation, is your use of 'bear' intended to make a compilation database of Emacs sources for use with a LSP server? If so, how is that going? Last time I tried to do that, the server (clangd, i think) was still very confused in many files. Jo=C3=A3o On Fri, Aug 19, 2022, 13:45 Gerd M=C3=B6llmann w= rote: > I just noticed that building Emacs master from scratch, i.e. what I do > from time to time > > git clean -xdf \ > && ./autogen.sh \ > && ./configure --with-native-compilation \ > && bear -- make \ > && make install > > went down from around 8 minutes to 4:30, and everything seems to still be > working normally. (This is macos 12.5.1, M1 chip.) > > Kudos to whoever made that happen! > --0000000000008bfa3f05e6bd116e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Gerd. Out of curiosity, and speculation, is your us= e of 'bear' intended to make a compilation database of Emacs source= s for use with a LSP server?=C2=A0

If so, how is that going? Last time I tried to do that, the server (cl= angd, i think) was still very confused in many files.

Jo=C3=A3o

On Fri, Aug 19, 2022, 13:45 Ge= rd M=C3=B6llmann <gerd.moell= mann@gmail.com> wrote:
=20 =20 =20

I just noticed that building Emacs master from scratch, i.e. what I do from time to time

=C2=A0=C2=A0=C2=A0 git clean -xdf \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 && ./autogen.sh = \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 && ./configure -= -with-native-compilation \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 && bear -- make = \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 && make install<= br>

went down from around 8 minutes to 4:30, and everything seems to still be working normally.=C2=A0 (This is macos 12.5.1, M1 chip.)

Kudos to whoever made that happen!

--0000000000008bfa3f05e6bd116e--