all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Posix build on Windows: parallel `make' broken
Date: Sun, 02 Jun 2013 12:04:53 +0200	[thread overview]
Message-ID: <87y5aszv3u.fsf@wanadoo.es> (raw)
In-Reply-To: 83vc5xz0re.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> A few days ago I succesfully built Emacs on Windows using the MSYS build
>> with `make -j4'. Since, I updated MSYS to the latest package versions
>> available through mingw-get and updated Emacs sources too.
>> 
>> Now, `make -j4' hangs.
>
> GNU Make 3.81 that is part of the official MSYS distribution does not
> support parallel execution.  That is what you are experiencing.

Before upgrading my MSYS install I did a parallel make and it worked (I
remember because noticed how the built took a fraction of the usual
time.) Maybe the upgrade messed things up.

> nt/INSTALL.MSYS says:
>
>   If/when you are confident in your MinGW/MSYS installation, and want
>   to speed up the builds, we recommend installing a pre-release
>   version of Make from here:
>
>      https://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/
>
>   These are snapshot builds of many packages, but you only need
>   make.exe from there.  The advantage of this make.exe is that it
>   supports parallel builds, so you can use "make -j N" to considerably
>   speed up your builds
>
> This describes the version of Make I use, which identifies itself as
> 3.82.90, and it does support parallel jobs.

It also hangs here, both with Emacs and with an unrelated project. Maybe
the problem is MSYS.

Oscar@winxppro-vm /d/dev/emacs/autoconf
$ time make -j 4 bootstrap

[...]

rm -f *.tab.c
Makefile:847: recipe for target `bootstrap-clean' failed
make: *** [bootstrap-clean] Error 1
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 4!

real    8m26.837s
user    2m43.179s
sys     2m53.622s

Oscar@winxppro-vm /d/dev/emacs/autoconf
$ which make
/mingw/bin/make.exe

Oscar@winxppro-vm /d/dev/emacs/autoconf
$ make -v
GNU Make 3.82.90
Built for i686-pc-msys
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.




  parent reply	other threads:[~2013-06-02 10:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01 23:59 Posix build on Windows: parallel `make' broken Óscar Fuentes
2013-06-02  2:48 ` Eli Zaretskii
2013-06-02  4:07   ` Juanma Barranquero
2013-06-02 15:14     ` Eli Zaretskii
2013-06-02 15:55       ` Juanma Barranquero
2013-06-03  1:06       ` Juanma Barranquero
2013-06-03  2:52         ` Eli Zaretskii
2013-06-03  3:41           ` Juanma Barranquero
2013-06-03 15:30             ` Eli Zaretskii
2013-06-03 15:47               ` Juanma Barranquero
2013-06-03 16:58                 ` Eli Zaretskii
2013-06-03 21:06                   ` Juanma Barranquero
2013-06-02 10:04   ` Óscar Fuentes [this message]
2013-06-02 15:30     ` Eli Zaretskii
2013-06-02 18:22       ` Óscar Fuentes
2013-06-02 18:36         ` Eli Zaretskii
2013-06-02 19:10           ` Óscar Fuentes
2013-06-02 19:18             ` Eli Zaretskii
2013-06-02 19:41               ` Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5aszv3u.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.