All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Parallel make build fails on fast machine
Date: Mon, 8 Jul 2019 11:19:19 +0100	[thread overview]
Message-ID: <20190708101919.GF3082@redhat.com> (raw)
In-Reply-To: <28ca7c60-5795-31ff-1d71-1fac477ad996@redhat.com>

On Mon, Jul 08, 2019 at 12:17:12PM +0200, Philippe Mathieu-Daudé wrote:
> On 7/8/19 11:41 AM, Daniel P. Berrangé wrote:
> > On Sat, Jul 06, 2019 at 09:35:30PM +0100, Peter Maydell wrote:
> >> On Sat, 6 Jul 2019 at 11:28, Mark Cave-Ayland
> >> <mark.cave-ayland@ilande.co.uk> wrote:
> >>>
> >>> On 06/07/2019 11:16, Peter Maydell wrote:
> >>>> If you just do 'make' rather than 'make install' does it fail the same way?
> >>>
> >>> Interesting. A quick test shows that "make V=1 -j2" works fine, it's just "make V=1
> >>> -j2 install" which is failing.
> >>
> >> Mmm. I suspect most people just do the plain make (with the make install
> >> phase either never or as a second command afterwards), so missing-dependency
> >> bugs between the install targets and the build targets are probably more
> >> likely to lurk around. We should stil fix them, though, assuming we
> >> can track them down...
> > 
> > The main 'install' target depends on 'all':
> > 
> > install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir \
> > 
> > 
> > but I think still allows 'install-doc', 'install-datadir' and
> > 'install-localstatedir'  to parallelize wrt 'all'. I guess the fix is to
> > make each of those 'install-xxx' targets depend on 'all' instead.
> 
> I'm not sure I follow, are you suggesting this as a kludge for this
> release, or you recommend this as a default?

I think it is the right solution in general.

> Apparently only 'recurse-install' depends of 'all'.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


  reply	other threads:[~2019-07-08 10:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06  9:55 [Qemu-devel] Parallel make build fails on fast machine Mark Cave-Ayland
2019-07-06 10:16 ` Peter Maydell
2019-07-06 10:27   ` Mark Cave-Ayland
2019-07-06 20:35     ` Peter Maydell
2019-07-08  9:41       ` Daniel P. Berrangé
2019-07-08 10:17         ` Philippe Mathieu-Daudé
2019-07-08 10:19           ` Daniel P. Berrangé [this message]
2019-07-08 17:03             ` Mark Cave-Ayland
2019-07-11 14:45               ` Markus Armbruster
2019-07-12 19:34                 ` Mark Cave-Ayland
2019-07-15  5:24                   ` Markus Armbruster
2019-07-12  6:02         ` Markus Armbruster

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=20190708101919.GF3082@redhat.com \
    --to=berrange@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.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.
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.