From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: windows installer Date: Thu, 16 Nov 2017 20:45:36 +0000 Message-ID: References: <87po99qzbn.fsf@russet.org.uk> <1509955878.550800.1162811960.541B525D@webmail.messagingengine.com> <87h8u6bae3.fsf@russet.org.uk> <1510126271.1965593.1165373624.0601E5CF@webmail.messagingengine.com> <8760aijcek.fsf@russet.org.uk> <83ineiotjr.fsf@gnu.org> <3f972e79-afcd-4f92-a283-41fad4b687fb@default> <83efp5p8km.fsf@gnu.org> <87a7zpbxza.fsf@russet.org.uk> <87375eqjy0.fsf@russet.org.uk> <83lgj6i451.fsf@gnu.org> <83k1yqi2kn.fsf@gnu.org> <83ineai0mj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1510865290 19940 195.159.176.226 (16 Nov 2017 20:48:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2017 20:48:10 +0000 (UTC) Cc: Emacs developers , =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , Eli Zaretskii , =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , Drew Adams , Phillip Lord To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 16 21:48:06 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 1eFR4s-0004lU-5X for ged-emacs-devel@m.gmane.org; Thu, 16 Nov 2017 21:48:02 +0100 Original-Received: from localhost ([::1]:42797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFR4z-0003Sy-K6 for ged-emacs-devel@m.gmane.org; Thu, 16 Nov 2017 15:48:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFR34-0002Cr-Jo for emacs-devel@gnu.org; Thu, 16 Nov 2017 15:46:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFR33-0007sX-Qk for emacs-devel@gnu.org; Thu, 16 Nov 2017 15:46:10 -0500 Original-Received: from mail-ot0-x241.google.com ([2607:f8b0:4003:c0f::241]:34129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFR32-0007pe-AX; Thu, 16 Nov 2017 15:46:08 -0500 Original-Received: by mail-ot0-x241.google.com with SMTP id o23so302140otd.1; Thu, 16 Nov 2017 12:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=j4vd781xF4jWzQ7saUY6KheaYdkr24q7UWY4XVjtycA=; b=KXrGGnzzAEXxkH5fwAkI9IOyo4IQkh3WxuaXvUkMPP5AfkGsFqCGCEJYQDoMb+8rcL A4dy/DmiPZvWKJYig8RG58jxgzeXX24zQJA3MMlp1bBSGe1VzHbShM2NYDLwdG9QU90Y ol3xR6rfXJx7l99iZHMRZf14tHBB7lexk5OyIpAGnikmwF2wAlglVLWb83/DOHa8lOUq qARBkcqMvUANab5hNOjadHjRius3k9fEcjOewfJZ0ZXV7Vfc06xbCjNVnAMEjjAg5/in xcJYazV6THx2dv5SIKzJCrRYJL4US2OKgspuhwgCdocfVLmrHOZGQp1UGi6M6HTwIo5E 8dNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=j4vd781xF4jWzQ7saUY6KheaYdkr24q7UWY4XVjtycA=; b=cSkXjjmxedH9jC1NfJ1/jh9dSzFt0rgwlkyL0bfD6SDFSZcA6bLR0DdVRhv6n15qAu JHGtRzntmpeNo2hqC5EmJIXRjXa9B9iyfd84hE5s7WXOz0WI76czegSFbEjOXg0Cv7O5 8opqCluLvY8jOA5tPYdurDuNk2Nw2Yp06DrARZJSqYvD2kCLaoG/XTFwGQ3LyT38HtJI /OincmVayd8CntSf9FDPJkSIp6SPa6VmTQK1BDkOiP7RKCf+bVkrMCU3lm8X6a3/V2KV VhAMeFsX25tLZ/ccbgBTvaPdGYOAooYvPTAYIujOlyki83cmJZHIQTdpNsb2W5ZH30Xq Kfsg== X-Gm-Message-State: AJaThX6ntVYMO2KOS0yrnAyWK3vBMJJvaO8B4NzBRtn5rZ93CP3za/md PKQpKoYCMzwd6tPJQ9vAGwlt2lYMSkzZmDxG9lE= X-Google-Smtp-Source: AGs4zMZAzNh5UXKKIoGHstWU3o4SvpkTstT54u7bVUkEfx1S/q2boUVAA3fpjrtlIYZT8uzPNHTIrNKZiG08dy97eeY= X-Received: by 10.157.68.209 with SMTP id p17mr2257383otg.66.1510865167227; Thu, 16 Nov 2017 12:46:07 -0800 (PST) Original-Received: by 10.157.58.37 with HTTP; Thu, 16 Nov 2017 12:45:36 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::241 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:220235 Archived-At: On 16 November 2017 at 18:10, Fabrice Popineau wrote: > > 2017-11-16 18:39 GMT+01:00 Eli Zaretskii : >> >> > From: Fabrice Popineau >> > And on my machine, ./configure is about 10 times slower than compiling >> > emacs itself (the make -j8 part). >> >> Does configure on your machine take anywhere near an hour? I doubt >> that. >> > > 'make -j8 bootstrap' takes 20mn. > The ./configure part takes 3-4mn. That is "10 times faster", not "10 times slower". More and faster CPU cores and RAM, and fast low-latency secondary storage will help a bit. Just now, autogen / configure / make took 8.4s / 41.7s / 3min 31.0s respectively in MSYS2 on Windows, and about 2s / 16s / 2m 46s in an Ubuntu VM. Experiment with larger values for -j (the builds above were at -j24 on an 8-thread machine) as there's plenty of stuff to be going on with that doesn't need a CPU core. Windows is ridiculously slow to start a new process. That seems to account for a big proportion of the time it takes to run the configure script. Disable the App Compat engine (from orbit, it's the only way to be sure).