qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/4] [broken] meson: try link tracepoints to module


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 4/4] [broken] meson: try link tracepoints to module
Date: Fri, 20 Nov 2020 13:30:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 11/20/20 12:25 PM, Gerd Hoffmann wrote:
>   Hi,
> 
>> Guess I'll go dig into the meson documentation, this looks more like a
>> build system than a tracing problem to me.
> 
> Looking at https://mesonbuild.com/Syntax.html ...
> 
> "all objects are immutable".
> 
> So "var2 = var1" creates a copy not a reference I guess?
> 
> Which implies that ...
> 
>       foo_ss.add(something)
> 
> ... is different from ...
> 
>       bar_ss = foo_ss
>       bar_ss.add(something)
> 
> ... which in turn explains why the patch doesn't work at all.
> 
> Now I'm wondering how I can make trace/meson.build add the trace
> objects to the module source sets if I can't pass around references
> to the module source sets?
> 
> Paolo?  Any hints how to tackle this the meson way?

Maybe managing it all in the main meson.build, like the
e28ab096bf8..da33fc09873 cleanup?
("Move the creation of the library to the main meson.build")

> 
> thanks,
>   Gerd
> 
> 




reply via email to

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