Re: Why python3 is build native in yocto ??? #python


William Jacob
 

Understood but this is where it gets tricky for me .

I am trying to compile llvmlite which depends on llvm . The problem is that because native python is used it will give me OS Error when I link LLVM build for ARM The reason I get this error is because llvmlite is looking for LLVM built for x86 .

On 09/11/20 3:59 pm, Richard Purdie wrote:
On Mon, 2020-11-09 at 09:14 +0000, Ross Burton wrote:
DEPEND on python3 and python3-native then.
Note that whilst the python headers and library will be in recipe-
sysroot, the python3 binaries will not. This is because they're
designed to run on the target, not the host you're building on so we
don't bother putting them there.

Cheers,

Richard

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.