Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to use semaphores
From: Oleg Andriyanov (o.andriyanov_at_[hidden])
Date: 2018-01-22 17:55:50


On 22.01.2018 19:51, Steven Watanabe via Boost-build wrote:
> JAM_SEMAPHORE needs to be set on the
> jam targets, not the meta targets.
>
> rule sleep ( targets * : sources * : properties * )
> {
> # You should probably use a longer name than `s` to avoid clashes.
> JAM_SEMAPHORE on $(targets) = s ;
> }
Thanks! Adding this to jamroot.jam solves the problem.


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