[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 025/150] libqemuutil, qapi, trace: convert to meson
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 025/150] libqemuutil, qapi, trace: convert to meson |
Date: |
Mon, 17 Aug 2020 15:38:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 8/17/20 1:10 PM, Roman Bolshakov wrote:
> On Fri, Aug 14, 2020 at 05:11:21AM -0400, Paolo Bonzini wrote:
>> This shows how to do some "computations" in meson.build using its array
>> and dictionary data structures, and also a basic usage of the sourceset
>> module for conditional compilation.
>>
>> [...]
>> + trace_ss.add(trace_h, trace_c)
>> + if 'CONFIG_TRACE_DTRACE' in config_host
>> + trace_dtrace = custom_target(fmt.format('trace-dtrace', 'dtrace'),
>> + output: fmt.format('trace-dtrace',
>> 'dtrace'),
>> + input: trace_events_file,
>> + command: [ tracetool, group, '--format=d',
>> '@INPUT@' ],
>> + capture: true)
>> + trace_dtrace_h = custom_target(fmt.format('trace-dtrace', 'h'),
>> + output: fmt.format('trace-dtrace', 'h'),
>> + input: trace_dtrace,
>> + command: [ 'dtrace', '-o', '@OUTPUT@',
>> '-h', '-s', '@INPUT@' ])
>> + trace_dtrace_o = custom_target(fmt.format('trace-dtrace', 'o'),
>> + output: fmt.format('trace-dtrace', 'o'),
>> + input: trace_dtrace,
>> + command: [ 'dtrace', '-o', '@OUTPUT@',
>> '-G', '-s', '@INPUT@' ])
>> +
>> + trace_ss.add(trace_dtrace_h, trace_dtrace_o)
>
> The patch conflicts with the latest tracing PULL request,
Which isn't merged ;)
It is simpler for the reviewer to test using a series that
apply on current master.
> object files shouldn't be generated on darwin:
>
> https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg02493.html
>
> Thanks,
> Roman
- [PATCH 022/150] meson: use coverage option, (continued)
- [PATCH 022/150] meson: use coverage option, Paolo Bonzini, 2020/08/14
- [PATCH 023/150] meson: add sparse support, Paolo Bonzini, 2020/08/14
- [PATCH 026/150] meson: add remaining generated tcg trace helpers, Paolo Bonzini, 2020/08/14
- [PATCH 024/150] meson: add testsuite Makefile generator, Paolo Bonzini, 2020/08/14
- [PATCH 029/150] tools/virtiofsd: convert to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 032/150] contrib/vhost-user-scsi: convert to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 028/150] contrib/libvhost-user: convert to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 027/150] meson: add version.o, Paolo Bonzini, 2020/08/14
- [PATCH 025/150] libqemuutil, qapi, trace: convert to meson, Paolo Bonzini, 2020/08/14
- [PATCH 031/150] vhost-user-scsi: add compatibility for libiscsi 1.9.0, Paolo Bonzini, 2020/08/14
- [PATCH 030/150] contrib/vhost-user-blk: convert to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 016/150] configure: integrate Meson in the build system, Paolo Bonzini, 2020/08/14
- [PATCH 037/150] contrib/elf2dmp: convert to meson, Paolo Bonzini, 2020/08/14
- [PATCH 041/150] meson: convert vss-win32, Paolo Bonzini, 2020/08/14
- [PATCH 038/150] meson: add macos dependencies, Paolo Bonzini, 2020/08/14
- [PATCH 033/150] contrib/rdmacm-mux: convert to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 034/150] contrib/vhost-user-input: convert to meson, Paolo Bonzini, 2020/08/14
- [PATCH 036/150] contrib/ivshmem: convert to meson, Paolo Bonzini, 2020/08/14