From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Mon, 17 Jan 2022 09:39:34 +0000 Message-ID: <87sftmn1k9.fsf@russet.org.uk> References: <86wnj18f7w.fsf@duenenhof-wilhelm.de> <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> <83h7a4zu89.fsf@gnu.org> <86czks94vl.fsf@duenenhof-wilhelm.de> <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36025"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: "H. Dieter Wilhelm" , corwin@bru.st, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 17 10:42:50 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 1n9OXJ-00097F-7Z for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 10:42:49 +0100 Original-Received: from localhost ([::1]:53664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9OXH-0001ed-Pg for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 04:42:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9OVG-00081h-KK for emacs-devel@gnu.org; Mon, 17 Jan 2022 04:40:42 -0500 Original-Received: from [78.129.138.227] (port=52785 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 1n9OV2-0006Vh-L6; Mon, 17 Jan 2022 04:40:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=ENPrFtgwn/DjerC8ggttZHHVjSno/V9EM6QHhh2a0xQ=; b=Z00I/P2vHwYt5WxUJxMeDkvBmb YERsr5Xe4q5nxq8y5R7utP2YszWSsNL54mIn/a6rKQ3lKU8o6RfJ2SC7GxKs8pf4eqHrCpQvZtph4 XZphRwmWazI1V3oK9Rd/QQXphulb7YLAtWqzVGbQ9MaxHpTOr36ZEFujIFxJw8PzQdAYcF8r6Xi44 G2cQKYc+CLeObXzCjPA0JO620FA3umjbKtjW5JARnrBcY6f0ef76kvG86J/3OTuhTW9tgKi+YOwDB Zpk9eg5f5NE0dKRITI2095jhb38RIizbm4KnGlSwVCpjDc4FhsQh7gmbGXyq/hJm9qpwYghgVRekM uZTZKQ4g==; Original-Received: from cpc142634-benw12-2-0-cust280.16-2.cable.virginm.net ([81.110.237.25]:37930 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n9OUD-00038D-Fz; Mon, 17 Jan 2022 09:39:36 +0000 In-Reply-To: <83v8yjyj21.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Jan 2022 14:13:58 +0200") 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:284866 Archived-At: Eli Zaretskii writes: >> I could build Gnu-Emacs-28.0.91 when I used the archived sources >> >> $ ./configure --with-native-compilation >> >> The difference to the build-zips.sh seems to me some more options from >> the script (and that is build from the git tree): >> >> echo [build] Configuring Emacs >> $REPO_DIR/$BRANCH/configure \ >> --without-dbus \ >> --without-compress-install \ >> --with-native-compilation \ >> $CACHE \ >> CFLAGS="$CFLAGS" >> >> Could it be that these additional options are spoiling the build? >> (CACHE=-C , I think.) > > I'd drop the CACHE part, so that the configure script starts from a > clean state. I wouldn't! CACHE=-C is used only on a snapshot build. These were always built incrementally from the previous version because I judged that the risk of a broken build was small compared to the significant time and cost saving that the incremental build provided. A full build is easy to achieve by simply deleting the build tree, as build-zips does an out-of-tree. Reconfiguring requires deleting the config.cache as well. Full release builds are built from a clean tree. The time saving is less important there. Phil