From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: emacs-26 3fc05cf: Scripts to automate windows binary distribution Date: Wed, 25 Oct 2017 07:03:25 -0400 Message-ID: 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; charset="UTF-8" X-Trace: blaine.gmane.org 1508929460 4874 195.159.176.226 (25 Oct 2017 11:04:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Oct 2017 11:04:20 +0000 (UTC) Cc: Michael Albinus , Emacs developers To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 25 13:04:09 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 1e7JTk-0008TD-Sz for ged-emacs-devel@m.gmane.org; Wed, 25 Oct 2017 13:04:09 +0200 Original-Received: from localhost ([::1]:47644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7JTs-00077V-6k for ged-emacs-devel@m.gmane.org; Wed, 25 Oct 2017 07:04:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7JT8-00077D-0A for emacs-devel@gnu.org; Wed, 25 Oct 2017 07:03:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7JT7-0004X2-29 for emacs-devel@gnu.org; Wed, 25 Oct 2017 07:03:29 -0400 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:55383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7JT6-0004WK-Si for emacs-devel@gnu.org; Wed, 25 Oct 2017 07:03:29 -0400 Original-Received: by mail-wm0-x22f.google.com with SMTP id u138so1110025wmu.4 for ; Wed, 25 Oct 2017 04:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=6uC7Vic+GRHNQPubkAVgk4NGuorHLTr/JydWDso8bok=; b=q4fnuQs5iVv2F+aM1YpYs6T2Q1ClO1CW1OxTrzgKevgSpMp3uhNXjwNZqLSM7wVeFL q2QJNaDSQs+QQXnl7pu08M7Azcs1/KWyPlCnkwerOJOEk4A8i5giGHnnk6OdxU5PbskB hzCvEd3UKs4b/cASQmTRsQeHDG1u230KlSJbLi/am+vEFyjZolRjCN4fur3AhmW+DvgI vig0EQfxQMj6BlKbr2ZTedkXKQ7lVWwjao7Inm7gYNFC8HoRivOGH0RX6gTqrOztC93f R4u8H9mCjKlUw1/ql50jDrfqqJkGJXR0Gqg3xKYeiVa0Qiso6SzQYYx1vyptdMbbeTZI om9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=6uC7Vic+GRHNQPubkAVgk4NGuorHLTr/JydWDso8bok=; b=thc2nlPCeazF7qGd88PwLbYlaIo4rhmzsVQyMNIz0XKPNA19iBh7RgsMGwkSYZSqxm nWnORyA2zQLxqpKBaqGd8WUBLA0h5LGiRsMSqHk7ixOPJdFYy45dOF3sx6S0DTvtnmqU lOvvqHoOK3F5yTQB888VAGooSVTiIXGE4BnGKHSBZWgg3AMGXiLM6lYg8fFa2sufJaD/ mAdbsYRrxS1/UEMFPp5iD5W4AjryYLL4T1wWFVkioulTYEt24zswxq0w0dH20lzCWq2j 7WW5h71jvDMPbmcZjo8/G9fC35R/QLEMleI9BA3miGrklYq4NbhVHYZJCOSjxU52NSTg oLHg== X-Gm-Message-State: AMCzsaWr4ECap60S9EFqVcwQ8hFkOqkLqZIF4NMp83M5YNhyEgfIAHwH uLE6WxkFdSJPh3FcN0cvl0FQnca5LYfrE6Pvayg= X-Google-Smtp-Source: ABhQp+T1sS7Ae7Mw6b/RI85M8MtrtvdE0R/ysroXV72qibyTUUL3wqA19fEljVSmxobWdsefKhYF3m4gWZGOMTaWzPA= X-Received: by 10.28.159.72 with SMTP id i69mr1434124wme.53.1508929405987; Wed, 25 Oct 2017 04:03:25 -0700 (PDT) Original-Received: by 10.223.146.227 with HTTP; Wed, 25 Oct 2017 04:03:25 -0700 (PDT) In-Reply-To: <874lqntyfu.fsf@russet.org.uk> X-Google-Sender-Auth: _ZdlBk7HBsNh4eGk2_Lq5hxTUGk X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22f 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:219745 Archived-At: 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. > 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? 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.