Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building Boost with multiple python versions
From: Tom Kent (lists_at_[hidden])
Date: 2017-02-16 00:24:59

On Wed, Feb 15, 2017 at 11:24 AM, Aaron Boman via Boost-build <
boost-build_at_[hidden]> wrote:

> I think, in order to select 32 vs 64, you would need to pass in the
> command to that version yourself, then pass in your own condition (6th
> parameter to using, 5th parameter to python.init):
> using python : 2.7 : /path/to/64/python : : : <address-model>64 ;
> using python : 2.7 : /path/to/python : : : <address-model>32
> <address-model> ; # the lack of value on <address-model> here indicates
> that in the event that the address-model is not present in the build
> request, this will be the default python chosen.
> Correct me if I'm wrong, but this should select the correct python
> interpreter/library.

That is a very useful trick, I have definitely struggled trying to support
the "<address-model>32" and "<address-model> ". I guess it is kinda obvious
once you think about it. Do you know if this is anywhere in the docs so I
can reference it?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at