qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] .gitignore: include common build sub-directories


From: Alex Bennée
Subject: Re: [PATCH] .gitignore: include common build sub-directories
Date: Tue, 14 Apr 2020 17:31:55 +0100
User-agent: mu4e 1.3.10; emacs 28.0.50

Richard Henderson <address@hidden> writes:

> On 4/13/20 9:29 AM, Alex Bennée wrote:
>> As out-of-tree builds become more common (or rather building in a
>> subdir) we can add a lot of load to "git ls-files" as it hunts down
>> sub-directories that are irrelevant to the source tree. This is
>> especially annoying if you have a prompt that attempts to summarise
>> the current git status on command completion.
>
> Not a fan.  Why do we encourage putting the build directory in tree anyway?
> IMO any out-of-tree build really should be OUT of tree.
>
> My build directories are always siblings of the source directory in the parent
> directory.


It's not exactly an un-common pattern - especially if you have a lot of
build variants. Keeping them under builds makes it easier to blow the
whole lot away rather than having a messy parent directory which you
have to clean manually.

Personally it also works better with my tooling which can slurp up all
the build directories and present me with a menu of make commands to
build from. That's not a good argument for accepting the patch though.

>
>
> r~


-- 
Alex Bennée



reply via email to

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