From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: windows build help Date: Sat, 14 Oct 2017 16:26:11 +0100 Message-ID: <87fualvjho.fsf@russet.org.uk> References: <84o9pyim1a.fsf@AigleRoyal> <83r2up976t.fsf@gnu.org> <83bmlblfca.fsf@gnu.org> <877evyev8o.fsf_-_@russet.org.uk> <86a80udeid.fsf@stephe-leake.org> <87376m9edg.fsf@russet.org.uk> <86wp3xbw0y.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507994781 29103 195.159.176.226 (14 Oct 2017 15:26:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 15:26:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 14 17:26:17 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3OKN-0006ha-SI for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 17:26:16 +0200 Original-Received: from localhost ([::1]:54341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3OKV-0008UT-7p for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 11:26:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3OKP-0008UO-Ii for emacs-devel@gnu.org; Sat, 14 Oct 2017 11:26:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3OKM-0001PT-F6 for emacs-devel@gnu.org; Sat, 14 Oct 2017 11:26:17 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:39311) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e3OKM-0001PA-8S for emacs-devel@gnu.org; Sat, 14 Oct 2017 11:26:14 -0400 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=taQh1qgTH/CIZy7GusZP0tVHCFFTahJ7anNiAuffuvY=; b=CbkxYrJSpnKwyEsNlIIVNHJHU lVIUKJd8oKQGtFXa2j62Tes7nQSfNsZi4G5fWrtV0t2nyKcSFvvxcY4yd+JwidykjiTJOwOkV7w/5 uYPxzcUDaA3N3eTKyncbB5axni71GMswSB/QUocbJDRFK6281YH0tXMoCSABGItC/LQlnYeOhjEfA o/YfQ/5JRvkRwMTs0Jl/K4cSoYWgSNXmpKhFkewNUVofxb3kCtKh5Q8YX3gnWDD1HPdH7B40ptoaf 8t1bD7tFxvsyVz6k1gSO5dm7TFCaV+3z4yFUlNddBSziFz72KUMKf9k4riOWdodZ4ihQHxug03wkE mC6B5lMCA==; Original-Received: from cpc8-benw10-2-0-cust100.16-2.cable.virginm.net ([92.233.204.101]:32778 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e3OKK-000Vci-95; Sat, 14 Oct 2017 15:26:12 +0000 In-Reply-To: <86wp3xbw0y.fsf@stephe-leake.org> (Stephen Leake's message of "Sat, 14 Oct 2017 10:15:41 -0500") 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-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219521 Archived-At: Stephen Leake writes: > phillip.lord@russet.org.uk (Phillip Lord) writes: > >> Stephen Leake writes: >> >>> phillip.lord@russet.org.uk (Phillip Lord) writes: >>> >>>> Another solution would be to run both builds in parallel; this fails, >>>> unfortunately, because the "out-of-source" build is not entirely out of >>>> source -- the .elc files are created in-source. If I launch both a 64 >>>> and 32 bit build at the same time, they fight for whole compiles what, >>>> until one or both crash. >>> >>> Have two source checkouts. then you could also build in-source, although >>> I doubt that makes much difference. >> >> I thought about that, but the reason against it is that it takes much >> longer, because I have to build the elc twice. > > Hmm. You are implying that the elc built for 32 bit emacs are identical > to the elc built for 64 bit emacs. > > Is that true? I would have guessed that most objects are either > 32 bit or 64 bit; elisp manual 3.1 says the integer range depends on the > machine, and pointers should also. Yes, I believe that they are. In fact, the source tar-ball includes the ELC files, when it's possible to build from source on many different platforms. I use to build both 32 and 64 totally form source (i.e. without ELC), but haven't done for I think all of Emacs-25. > If they are the same, then you should be able to write a script that > does: > > 1) parallel make to build elc using 32 bit > 2) parallel make to build everything else, both 32 bit and 64 bit. I have this now, thanks to comments in this thread. I do, parallel build of 64 bit, then parallel build of 32 bit. The ELC build happens during the 64, although it could happen either way. Phil