Boost logo

Boost-Build :

Subject: Re: [Boost-build] Having problem with building with 1.42
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2010-02-17 11:11:56


Johan Nilsson wrote:
> Avi Bahra wrote:
>> When I switch back, to 1.39/1.40 there are no problems.
>>
>> This is what my boost-build.jam look like:
>> --------------------------------------------------------------------------------
>>
>> BOOST_BUILD = [ MATCH --boost-build=(.*) : $(ARGV) ] ;
>> BOOST_BUILD ?= $(BOOST_ROOT)/tools/build/v2 ;
>> boost-build $(BOOST_BUILD) ;
>
> Does the above actually work, or are you leaving something out? I don't
> know if boost-build.jam is subject to some special treatment but you'd
> normally need to e.g.:
>
> local ARGV = [ modules.peek : ARGV ] ;
> local BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; # or use "os.environ"
>
> Sorry, that's all I can see. Haven't used bjam/boost.build more recent
> than 1.40 a lot, so I haven't seen any similar problems.

boost-build.jam operates on the global space, since it's being loaded
way before BBv2 is loaded. Because it's the one that loads BBv2 ;-)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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