]> code.ossystems Code Review - openembedded-core.git/commit
boost: port boost-python to Python 3
authorRoss Burton <ross.burton@intel.com>
Fri, 24 Mar 2017 16:09:19 +0000 (16:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Mar 2017 12:17:02 +0000 (13:17 +0100)
commit0f5418eb0ce12811b16d2e3c28c28140a509f685
tree554b3e8a2f5ade5044bb52fce8faa1bfb119bab6
parent07aee884efee75568b4a7b7d6bbfe3255ed65ef5
boost: port boost-python to Python 3

As Python 3 is the default Python version, change Boost to build against Python
3 instead of Python 2 if enabled.  It's not simple to support both, so this
means that support for building boost-python against Python 2 has been removed.

This involves backporting a number of patches upstream to fix Python 3 support,
and telling Boost precisely where to find the Python headers and libraries so
that it doesn't try to invoke the host Python to determine these values.

[ YOCTO #11104 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/boost/boost.inc
meta/recipes-support/boost/boost/py3.patch [new file with mode: 0644]
meta/recipes-support/boost/boost_1.63.0.bb