On 5/23/2026 1:56 AM, Alex Bennée wrote:
> Pierrick Bouvier <[email protected]> writes:
> 
>> On 5/22/2026 12:02 PM, Alex Bennée wrote:
>>> Pierrick Bouvier <[email protected]> writes:
>>>
>>>> On 5/21/2026 6:17 AM, Alex Bennée wrote:
>>>>> Explicitly set the appropriate QEMU binary as a dependency so we can
>>>>> ensure they get built. This is especially important for MacOS which
>>>>> otherwise only builds the unsigned binaries on a normal "make all"
>>>>> run.
>>>>>
>>>>
>>>> I'm not sure to see why it matters. tcg-tests don't make use of hvf, so
>>>> unsigned binaries are plenty for it.
>>>>
>>>> Which other binary is this building that is not built by default?
>>>>
>>>> In general, if something is not included in "all" target, let's make
>>>> sure it's included there (meson.build?) instead of adding a workaround
>>>> here. Not only tests benefit this, but anyone doing a build on a
>>>> platform that might have optional binaries not built by default.
>>>
>>> If you have a suggestion on how to make that work I'm all ears.
>>>
>>
>> I would be happy to help, but I don't understand what the goal is. I
>> have three questions that should help to provide a suggestion.
>>
>> Which exact test command do you run?
> 
> make check-tcg
> 
>>
>> ```
>> Explicitly set the appropriate QEMU binary as a dependency so we can
>> ensure they get built.
>> ```
>> Aren't they built by all?
> 
> Apparently not.
> 
>> It seems to be a dependency, at least for check-tcg:
>> .ninja-goals.check-tcg = all test-plugins
>>
>> ```
>> This is especially important for MacOS which otherwise only builds the
>> unsigned binaries on a normal "make all" run.
>> ```
>> Why do you need signed binaries for testing on MacOS (hvf?)?
> 
> In a previous iteration I made configure spit out the unsigned binaries
> to config-target.mak but the request was to fix the dependencies
> instead.
> 
> It all works on Linux so I'm not sure why MacOS is being so weird
> because the meson emulators target mechanism should be the same.
>

Just tried now, and it does not work on Linux neither (make check-tcg
does not build any target beyond tests). Maybe you forgot to clean your
folder?

>> Regards,
>> Pierrick
> 


Reply via email to