qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] build: remove redundant 'check-build' make target


From: Thomas Huth
Subject: Re: [PATCH] build: remove redundant 'check-build' make target
Date: Wed, 11 Aug 2021 08:02:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 10/08/2021 18.44, Daniel P. Berrangé wrote:
The 'check-build' make target was added as a way to build all the unit
test binaries, since the standard 'all' target would not trigger this.

Since the switch to meson, however, 'all' will now include the 'test'
binaries. As a result, 'check-build' is a no-op:

    $ make all check-build
    ..snip lots of output...
    make: Nothing to be done for 'check-build'.

I think it would be better to restore the previous behaviour, so that "all" does not build the test files by default. Most normal users don't need the tests, so compiling them by default wastes precious CPU cycles.

See also:


https://lore.kernel.org/qemu-devel/8d5714d1-d92b-60fc-531f-73eb05852c8f@gmail.com/


https://lore.kernel.org/qemu-devel/472c9809-8987-3c2c-c2b5-b99d637ace0f@redhat.com/

 Thomas





reply via email to

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