[OE-core] [PATCH] meta/classes/menson.bbclass: Add python3 dependency
anibal.limon at linaro.org
Thu Jan 9 14:51:41 UTC 2020
On Thu, 9 Jan 2020 at 05:23, Alexander Kanavin <alex.kanavin at gmail.com>
> On Thu, 9 Jan 2020 at 02:43, Aníbal Limón <anibal.limon at linaro.org> wrote:
>> -DEPENDS_append = " meson-native ninja-native"
>> +DEPENDS_append = " meson-native ninja-native python3"
> Apologies, but I cannot accept this. Not all meson-based components even
> ask for python, and this adds a non-trivial (built time wise) target
> dependency to them all. There is also the potential to create circular
> dependencies some time in the future if something required by target python
> switches over to meson.
> I suggest you rather patch meson itself, so that the python probe
> implemented there does not import a target module.
This issue comes from python3native.bbclass when use python target library
and include dirs and set _sysconfigdata too.
Menson python module uses it to get python interpreter information to build
, I agree that not all recipes uses menson + python but it is
a single point to patch.
I understand the implications of build time being increase so the other
option is to add the dependency only on waffle.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openembedded-core