qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] configure: add support for pseudo-"in source tree" builds


From: Paolo Bonzini
Subject: Re: [PATCH v2] configure: add support for pseudo-"in source tree" builds
Date: Fri, 21 Aug 2020 14:58:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 21/08/20 12:54, Kevin Wolf wrote:
>>> Sounds like it will be painful to switch between branches based on make
>>> and branches based on meson. By extension, it will also be painful to
>>> check out and build old versions for comparison, or doing that even more
>>> than once during git bisect. :-(
>> Not if you switch to out-of-tree builds...
> I don't see what out-of-tree builds change about this unless I delete
> and reconfigure them after each step? Even in those cases where I use
> out-of-tree builds, I often reuse the same directory.

In two ways:

1) bisection will rarely jump around the point where Meson was
introduced.  First, because if it coincides with the 5.1.0 release, then
you know in advance if the problem was introduced before or after the
merge.  Second, because the bisection will quickly land on a merge
commit, and then you can (just for going down the merged branch) use a
separate out-of-tree build directory.

2) for the rare case of working on a branch that was developed pre-Meson
and has not been rebased (or need not be rebased), you again use a
separate out-of-tree build directory just for that one, and you don't
have to worry about doing distclean or an incremental builds.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]