Re: [OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Khem Raj
On Wed, Sep 4, 2019 at 11:49 AM Richard Purdie wrote: > > On Wed, 2019-09-04 at 11:10 -0700, Khem Raj wrote: > > packages can use > > > > find_package(PythonInterp REQUIRED) > > find_package(PythonLibs REQUIRED) > > > > while we control PYTHON pointing to native py3 the libs and include > >

Re: [OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Khem Raj
On Wed, Sep 4, 2019 at 11:15 AM Alexander Kanavin wrote: > > On Wed, 4 Sep 2019 at 20:10, Khem Raj wrote: >> >> # llvm version being used, so always bump it with llvm recipe version bump >> LLVMVERSION ?= "8.0.1" >> >> +# This should be bumped when python3 recipe's MIN_VER is bumped e.g. 3.7

Re: [OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Richard Purdie
On Wed, 2019-09-04 at 11:10 -0700, Khem Raj wrote: > packages can use > > find_package(PythonInterp REQUIRED) > find_package(PythonLibs REQUIRED) > > while we control PYTHON pointing to native py3 the libs and include > directories will then point to build host version, which can result > in >

Re: [OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Khem Raj
On Wed, Sep 4, 2019 at 11:15 AM Alexander Kanavin wrote: > > On Wed, 4 Sep 2019 at 20:10, Khem Raj wrote: >> >> # llvm version being used, so always bump it with llvm recipe version bump >> LLVMVERSION ?= "8.0.1" >> >> +# This should be bumped when python3 recipe's MIN_VER is bumped e.g. 3.7

Re: [OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 20:10, Khem Raj wrote: > # llvm version being used, so always bump it with llvm recipe version bump > LLVMVERSION ?= "8.0.1" > > +# This should be bumped when python3 recipe's MIN_VER is bumped e.g. 3.7 > -> 3.8 > +PYTHON_BINABI = "3.7m" > + > This is already set in

[OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Khem Raj
packages can use find_package(PythonInterp REQUIRED) find_package(PythonLibs REQUIRED) while we control PYTHON pointing to native py3 the libs and include directories will then point to build host version, which can result in unexpected combination and if we are lucky we get errors if its quite