|
Boost-Build : |
Subject: Re: [Boost-build] Concurrent jobs hints
From: Piotr Jachowicz (pjachowi_at_[hidden])
Date: 2010-12-09 16:03:05
Steven Watanabe <watanabesj <at> gmail.com> writes:
> [...]
>
> I believe that you need to set JAM_SEMAPHORE for
> the bjam target. targets with the same JAM_SEMAPHORE
> won't be executed in parallel.
Thank you for reply! But where to put JAM_SEMAPHORE? My schema projects look
like that ('schemabuild' is a generator which takes *.imp as input and creates
two files: *.sch and *.cxx):
import os ;
make myschema.sch : myschema.imp : @myschema : <location>. ;
make myschema.cxx : myschema.imp : @myschema : <location>. ;
actions myschema
{
cd $(>:D)
schemabuild $(>:D=)
}
lib schema
: [ glob *.cpp ]
myschema.cxx
;
Where to put JAM_SEMAPHORE to ensure that there will be no two 'schemabuild'
executed concurrently?
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/
boost-build
>
>
-- Regards, Piotr Jachowicz
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