Closed rpavlik closed 2 years ago
Hmm. It seemed to work ok later when I used my CMake build. My guess is that the Meson build copied an old version of Perfetto and kept using it despite the updates. However, the CMake build in #26 uses the files from perfetto without copying them, so it should be resistant to this issue.
My guess is that the Meson build copied an old version of Perfetto and kept using it despite the updates.
Meson doesn't copy anything.
The build rules for this project seem to erroneously do so: https://github.com/olvaffe/percetto/blob/22f649055e15ff07cea4c73a8337c0ffdb06d566/perfetto-sdk/meson.build#L35-L47
However, those also depend on the original files from the directory get_option('perfetto-sdk')
so updates to those files will result in the cp
command specified by this project, being re-run.
Well, the issue happened not just to me but also to a coworker. No problem when using CMake though.
Looks like new code in https://github.com/olvaffe/percetto/commit/8af1898a4823d911a1fce9bfe1c85a5dc26fa255 - was there a missing part of this change that didn't get committed? I'm testing with my adjacent perfetto directory checked out at releases/v23.x