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: emacs-26 3fc05cf: Scripts to automate windows binary distribution Date: Wed, 25 Oct 2017 16:42:08 +0100 Message-ID: <87h8unw7xr.fsf@russet.org.uk> References: <20171024173456.23065.52677@vcs0.savannah.gnu.org> <20171024173457.C45BE2031F@vcs0.savannah.gnu.org> <87r2trg01m.fsf@gmx.de> <874lqntyfu.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1508946196 7419 195.159.176.226 (25 Oct 2017 15:43:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Oct 2017 15:43:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Michael Albinus , Emacs developers To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 25 17:43:12 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 1e7NpZ-0008NX-7k for ged-emacs-devel@m.gmane.org; Wed, 25 Oct 2017 17:42:57 +0200 Original-Received: from localhost ([::1]:48842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7Npg-0007t2-Ig for ged-emacs-devel@m.gmane.org; Wed, 25 Oct 2017 11:43:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7Not-0007rl-4v for emacs-devel@gnu.org; Wed, 25 Oct 2017 11:42:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7Nop-0008EB-Rv for emacs-devel@gnu.org; Wed, 25 Oct 2017 11:42:15 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:37716) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7Nop-0008DQ-Iq for emacs-devel@gnu.org; Wed, 25 Oct 2017 11:42:11 -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=OM4UoJfPff764QDf9jtGXGsaGXxGsU2jN4ymyVFB19o=; b=WD7uIS6HGSNP616/hbIiOILHP BZUOci3ZFqqNXxC1CSZcDd5XL3emHMpdGEXuGsyTb8p2mZ8ew+ajQcDNtaltS1CqjBWvmQbY/4p+p b0KJIQm/suwQzuRnE6BdtYOORw4WURf/Hg9ZAhGpncVX9A0L7kKA1Z9pr8AWqW91jbSYDYOqmChvi 5/gIHisRelVCraSaimv1KIxDqGempJo0XYnFXaay9OjVitusayLc4ANY6IqMfhg5w9QfDAYRM+dBk TFNzyqLkSNmLjQ3WeR6XCnxwNzXSjNI0I+VPKfyDTbu3Yk12Ylylg4gZfKgZczbEYup3hVRWLtfSm g9i08G8KQ==; Original-Received: from janus-nat-128-240-225-124.ncl.ac.uk ([128.240.225.124]:56334 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1e7Non-000o7O-9L; Wed, 25 Oct 2017 15:42:09 +0000 In-Reply-To: (Noam Postavsky's message of "Wed, 25 Oct 2017 07:03:25 -0400") 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:219758 Archived-At: Noam Postavsky writes: > On Wed, Oct 25, 2017 at 4:37 AM, Phillip Lord > wrote: > >> I started off writing this in bash, but it's such a pain that I ported >> it to python which ended up much nicer. Given that this file has about a >> 15-20 minute run time, this seemed a useful thing to me. As it happens >> it was also easy to make it go quicker which is important because it >> means that I can do the build in the evening, rather than over two >> evenings. > > Hmm, looking at the python, I don't see anything that couldn't be > easily done in bash, and if it was me, I would probably use bash for > this; but if you prefer python I don't see a problem with that. Oh, it was just the parallellisation step for the source download. It wasn't a big deal one way or the other, and I am entirely happy to accept that my ignorance about bash scripting is a major factor. >> I'll probably port build-zips.sh at some point as well. > > Python seems even less advantageous there, since it's mostly calling > external commands, no? Yes, that's why I didn't port it. > PS: With regards to making things run quicker, you might want to > consider passing --cache-file=../../config.cache.$ARCH to configure. > It would probably save a minute or two per build. Good idea; for the pre-test and release builds, I do them clean anyway, but for snapshots (assuming I start doing these), it would be a significant win. Phil