All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Markus Armbruster <armbru@redhat.com>
Cc: "Kevin Wolf" <kwolf@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Liviu Ionescu" <ilg@livius.net>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>,
	"Stefan Hajnoczi" <stefanha@gmail.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Michal Suchánek" <msuchanek@suse.de>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Aleksandar Markovic" <aleksandar.m.mail@gmail.com>
Subject: Re: [PATCH v5 for-5.0] configure: warn if not using a separate build directory
Date: Wed, 15 Apr 2020 09:52:23 +0100	[thread overview]
Message-ID: <CAFEAcA-nCr81nkrtsncpqKkwe-D22smTdD4cG7SD-svnMNw56g@mail.gmail.com> (raw)
In-Reply-To: <87zhbdl1ip.fsf@dusky.pond.sub.org>

On Wed, 15 Apr 2020 at 07:13, Markus Armbruster <armbru@redhat.com> wrote:
> Peter Maydell <peter.maydell@linaro.org> writes:
> > Given where we are in the release cycle, I think this isn't
> > going to go in for 5.0; and it's not really that urgent now
> > we've decided we don't want to actually deprecate in-tree builds.
>
> Have we?
>
> We had a Aleksandar assert that out-of-tree builds can't do certain
> things, which led to the decision to soften this patch's warning from
> "deprecated; better use the grace period to adjust, and here's how to"
> to "not recommended; here's the recommended way".

This is not how I recall the discussion. The reason we decided to
soften this patche's warning was because there was a sizeable
contingent of people who said "I want the basic './configure; make'
commands to keep working and am willing to write the wrapper
makefile that wil cause those to automatically create and use
a build directory under the hood". If the commands will keep working
then there's nothing to deprecate.

("Stuff doesn't currently work with out-of-tree builds" is something
that I argued at that point in the thread was definitely not a reason
not to deprecate.)

> Whether we want to keep sinking time & energy into an extra way to build
> will become irrelevant once we move to Meson, unless Meson deviates from
> its "this is an opinionated build tool, not a 'give users all the rope
> they may possibly want, and then some'" approach in a surprising lapse
> of judgement.

And Meson is the other part of this -- if Meson is coming soon-ish
and will mean users having to change their build commands in some
way anyway, it's better for them if we only make them change once,
when Meson arrives, rather than once now and then again later.

> If we can't reach consensus in time for 5.0, that's regrettable, but I
> accept it.  Our decision making process is open and slow.  Hard to get
> one without the other.
>
> Much harder to accept is us once again defaulting to do nothing because
> deciding what to do involves a tradeoff.

My understanding of the consensus position was "we should stop
supporting in-tree build in the main makefile machinery but should
have a trivial wrapper that creates and uses a build directory
under the hood if the user does run configure/make from the
source tree". I think that should be much less painful to maintain
than handling both setups through the whole of our makefile system.
(I wouldn't personally bother to implement it, but several people
volunteered to do so.)

thanks
-- PMM


      reply	other threads:[~2020-04-15  8:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 15:33 [PATCH v5 for-5.0] configure: warn if not using a separate build directory Daniel P. Berrangé
2020-04-06 15:38 ` Eric Blake
2020-04-06 15:45   ` Daniel P. Berrangé
2020-04-14 19:25 ` Peter Maydell
2020-04-15  6:13   ` Markus Armbruster
2020-04-15  8:52     ` Peter Maydell [this message]

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=CAFEAcA-nCr81nkrtsncpqKkwe-D22smTdD4cG7SD-svnMNw56g@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=aleksandar.m.mail@gmail.com \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=ilg@livius.net \
    --cc=kwolf@redhat.com \
    --cc=msuchanek@suse.de \
    --cc=pbonzini@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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.