[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/17] Migration 20230209 patches
From: |
Peter Maydell |
Subject: |
Re: [PULL 00/17] Migration 20230209 patches |
Date: |
Fri, 10 Feb 2023 16:17:42 +0000 |
On Fri, 10 Feb 2023 at 16:13, Juan Quintela <quintela@redhat.com> wrote:
> Again, I don't know why it fails.
>
> diff --git a/tests/bench/meson.build b/tests/bench/meson.build
> index daefead58d..7477a1f401 100644
> --- a/tests/bench/meson.build
> +++ b/tests/bench/meson.build
> @@ -3,9 +3,11 @@ qht_bench = executable('qht-bench',
> sources: 'qht-bench.c',
> dependencies: [qemuutil])
>
> +if have_system
> xbzrle_bench = executable('xbzrle-bench',
> sources: 'xbzrle-bench.c',
> dependencies: [qemuutil,migration])
> +endif
>
> executable('atomic_add-bench',
> sources: files('atomic_add-bench.c'),
>
> This make it works.
Before you added your test, meson had no need to compile
any of the object files in 'migration', so it didn't. Now
you tell meson to build a new executable, and it says "OK,
I must build these object files". Only it turns out that
they won't actually compile in this config, so you get an
error.
The same issue can happen in good old Make :-)
thanks
-- PMM
- Re: [PULL 12/17] AVX512 support for xbzrle_encode_buffer, (continued)
- [PULL 13/17] Update bench-code for addressing CI problem, Juan Quintela, 2023/02/09
- [PULL 14/17] migration: Rework multi-channel checks on URI, Juan Quintela, 2023/02/09
- [PULL 15/17] migration: Cleanup postcopy_preempt_setup(), Juan Quintela, 2023/02/09
- [PULL 16/17] migration: Add a semaphore to count PONGs, Juan Quintela, 2023/02/09
- [PULL 17/17] migration: Postpone postcopy preempt channel to be after main, Juan Quintela, 2023/02/09
- Re: [PULL 00/17] Migration 20230209 patches, Peter Maydell, 2023/02/10