Skip to contentSkip to conversation

State of Meson build system through eSDK

DISCUSSION Martin Siegumfeldt 2 participants 5 messages Aug 13, 2019

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Martin Siegumfeldt

I am wondering if/when Meson is expected supported through the eSDK - I don't see it from the list:

https://www.yoctoproject.org/docs/current/sdk-manual/sdk-manual.html#sdk-a-closer-look-at-devtool-add
?

The link above is not about eSDK, it's about devtool which works perfectly fine in a non-SDK environment (e.g. plain yocto).

I think meson in SDKs actually is supported, as there is a nativesdk- version of the meson recipe. Do you want to try and report?

Alex

#2 lore raw

On 8/13/19 11:57 AM, Alexander Kanavin wrote:
On Tue, 13 Aug 2019 at 10:40, Martin Siegumfeldt <[email protected]<mailto:[email protected]>> wrote:
I am wondering if/when Meson is expected supported through the eSDK - I
don't see it from the list:
https://www.yoctoproject.org/docs/current/sdk-manual/sdk-manual.html#sdk-a-closer-look-at-devtool-add
?

The link above is not about eSDK, it's about devtool which works perfectly fine in a non-SDK environment (e.g. plain yocto).

Hmm, since it is a subsection beneath 'Using the Extensible SDK' I was expecting the list to describe supported build systems related to devtool in context of the eSDK?

I think meson in SDKs actually is supported, as there is a nativesdk- version of the meson recipe. Do you want to try and report?

Sorry I don't have any particular SW at hand - I was more thinking long term build system strategy, and everyone seems to be chasing Meson these days. Alex

Thanks,

Martin

#3 lore raw
Quoted 7 lines · Martin Siegumfeldt

The link above is not about eSDK, it's about devtool which works perfectly fine in a non-SDK environment (e.g. plain yocto).

Hmm, since it is a subsection beneath 'Using the Extensible SDK' I was expecting the list to describe supported build systems related to devtool in context of the eSDK?

This is maybe not communicated well, but devtool works the same in and out of SDK environment. You can check what build systems it supports here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/recipetool/create_buildsys.py#n874

It probably wouldn't be too much effort to add a meson handler there. In any case, 'devtool add' is just a starting point, and does not promise to produce a fully working recipe.

Alex

#4 lore raw

On 8/13/19 12:59 PM, Alexander Kanavin wrote:
On Tue, 13 Aug 2019 at 12:41, Martin Siegumfeldt <[email protected]<mailto:[email protected]>> wrote:
The link above is not about eSDK, it's about devtool which works perfectly fine in a non-SDK environment (e.g. plain yocto).

Hmm, since it is a subsection beneath 'Using the Extensible SDK' I was expecting the list to describe supported build systems related to devtool in context of the eSDK?

This is maybe not communicated well, but devtool works the same in and out of SDK environment. You can check what build systems it supports here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/recipetool/create_buildsys.py#n874

It probably wouldn't be too much effort to add a meson handler there. In any case, 'devtool add' is just a starting point, and does not promise to produce a fully working recipe.

Alex

Ok, so it does appear to be "close" but yet unknown territory. If I manage to find time for experiments, I'll get back with the results.

Thanks again :)