Boost logo

Boost-Build :

Subject: [Boost-build] boost build semaphore
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2013-07-01 15:11:28


I am having a project with multiple libraries and unit-tests
(applications). From time to time depending on the change I am getting in
situation where almost every unit-tests application needs to be linked. I
would like to avoid running too many link processes since it does not seam
to perform very well. At the same time I do want to use the multi-thread
option for the rest of the targets.

What will be the easiest way to do that. Can I use SEMAPHORE variable? How
I can apply it to all the targets from a type (in my case - executable)?
Can I specify semaphore value different than the default '1' - in my case 2
or 3 linking threads will still be ok.


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