Subject: Re: [Boost-build] Boost.Python build (config ?) error
From: Sophonet (boost_at_[hidden])
Date: 2017-03-29 15:35:23
> And it's always been that way since the dawn of py3 :-) When I made my
> changes they where to correct corner cases when there was only one of
> 2 or 3 installed, or nothing was installed and for further selecting
> the py version if configuration conditions where specified. I.e.
> having more than one of py3 configured never worked correctly.
> Although it was likely a silent undefined behavior of which actual py
> version it used under the hood.
So, as a suggestion to clean up command line options for b2:
- could there be two b2 command line parameters, python2=2.x and
python3=3.x, in order
to support the current behavior of building python2 and python3
bindings simultaneously (if found)?
- these would need to be parsed in src/kernel/bootstrap.jam?
- and in src/tools/python.jam, near line 778, there needs to be a check
on the minor version
specified by python2 or python3, respectively, if these parameters are
Unfortunately, I am not a jam expert, and I don't have any clue how
command line parameters are actually passed to src/tools/python.jam for
the version check...
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk