From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Sat, 15 Jan 2022 22:14:56 +0000 Message-ID: References: <86wnj18f7w.fsf@duenenhof-wilhelm.de> <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12888"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.12 Cc: Corwin Brust , Emacs developers To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 15 23:17:28 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 1n8rMW-0003Aw-7d for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Jan 2022 23:17:28 +0100 Original-Received: from localhost ([::1]:54854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8rMU-0007Ks-TN for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Jan 2022 17:17:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8rKo-0005NT-PX for emacs-devel@gnu.org; Sat, 15 Jan 2022 17:15:43 -0500 Original-Received: from [78.129.138.227] (port=34441 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8rKm-0007il-Un for emacs-devel@gnu.org; Sat, 15 Jan 2022 17:15:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=X1VoWj30PIKWFfVuPqZBMOfgUlZcOzXPFNdYuDt++k0=; b=poiU5eYmdM8ib8pth4ksmrRedW AVDBAvh2at8Doa0jymZn2peqxvGDCBwhJYpl8cikv3gFwTv87O0blwd4rWyIp4StuSnJ5BNtJdIaS COmKlhsZFdjepi23e139Qp62fzv5SGQekkA6ykhkVcksmCBh8L9sEF5+lttEm9dfxp7uPwxDa17Vg Ji93vasquWKM+zuaSBP9uTR4z+aSe4eGGHSN+m4OG80YVf/vZkmWe2NmFOQxyIYg2Qm3Gl7EzAaue 5mIoeR0GWMY1K1u8IjKWoJ9TkwArvF7/4lwsmlYvj6RBveDPS2IdQAMJ3/IUdV7ScKkCqXhA5vtHD dfkIjLYQ==; Original-Received: from [::1] (port=57672 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.94.2) (envelope-from ) id 1n8rK7-0004y6-K2; Sat, 15 Jan 2022 22:14:57 +0000 In-Reply-To: <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> X-Sender: phillip.lord@russet.org.uk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.129.138.227 (failed) Received-SPF: pass client-ip=78.129.138.227; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:284790 Archived-At: On 2022-01-15 19:06, H. Dieter Wilhelm wrote: > Corwin Brust writes: >> > phillip.lord@russet.org.uk writes: >> The performance that I got on Windows builds when I did do it was >> highly >> variable (between half an hour and three), but I think this was >> mostly >> the shared CPU infrastructure I was using. I never worked out how to >> get >> native comp working in a way that I could package it for windows, so >> the >> builds were all without it. >> >> This is my present situation also. I can build with native comp but >> not (yet) found a way to package that version. > > I don't understand yet the packaging requirements, is it not possible > to > copy additionally the native-lisp/ folder to the package? > > So far I could compile (locally) the current pretest 28.0.91 version > --with-native-compilation. > > Then I tried to build (with build.zips.sh) a snapshot of the > masterbranch --with-native-compilation on the same system. And now > ./configure is complaining: > > configure: error: Elisp native compiler was requested, but libgccjit > was not found. > > Does Emacs-29 has different requirements? The problem is that native comp needs libgccjit at compile time but also at runtime. To make an executable install package like we have at the moment essentially means packaging libgccjit. Which means gcc and half of the msys2 toolchain. We were there a long time back when Emacs used to be packaged with lots of other stuff, including a full python installation. It didn't make sense then and it's not a great thing to go back to. So, I think, Emacs releases for windows will be without native-comp. Anyone who wants it will have to install it over an msys2 installation, or with chocolaty or something equivalent. Phil