Previously python-tags were specified, but actually ineffective as
python-tag is not an available rule. Copy&Paste python-tag rule from
libs/python/Jamfile.
Looks like boost_python has moved on and stopped providing
boost_python2 and boost_python3 libraries. Possibly a regression in
boost_python, or possibly new world order which mpi should adapt to.
Fixes build: --with-python --with-mpi --python-buildid=py36 python=3.6
Made mpi-python compilation and naming consistent with Boost.Python:
- Add <python> property requirement to the components dependent on Python.
This ensures that Boost.Build passes include and library paths for the
selected Python version while building these components. This fixes the
build error of pyconfig.h not found.
- Add <python-debugging> property handling, to follow Boost.Python practice.
This should ensure that correct Python headers and library are used
by Boost.Python depending on this property.
- Add suffix 3 to the library name when compiled against Python 3.x. This
follows Boost.Python practice. The MPI plugin for Python is still named
mpi (without suffix) as it may be visible to python programs. Users are
expected to build into separate directories when plugins for different
Python versions are required.
Made mpi-python compilation and naming consistent with Boost.Python:
- Add <python> property requirement to the components dependent on Python.
This ensures that Boost.Build passes include and library paths for the
selected Python version while building these components. This fixes the
build error of pyconfig.h not found.
- Add <python-debugging> property handling, to follow Boost.Python practice.
This should ensure that correct Python headers and library are used
by Boost.Python depending on this property.
- Add suffix 3 to the library name when compiled against Python 3.x. This
follows Boost.Python practice. The MPI plugin for Python is still named
mpi (without suffix) as it may be visible to python programs. Users are
expected to build into separate directories when plugins for different
Python versions are required.