Subject: Re: [boost] PSA: Travis OS X bottleneck, <cxxstd> new Boost.Build feature
From: Ion GaztaÃ±aga (igaztanaga_at_[hidden])
Date: 2017-10-29 09:53:40
On 26/10/2017 18:43, Peter Dimov via Boost wrote:
> Travis's OS X resources for open source projects seem to be
> insufficient, so OS X jobs are very slow and seem to be falling further
> and further behind. Therefore, library authors are encouraged to keep
> the OS X jobs to the minimum necessary. Spawning many OS X jobs takes
> hours (~25 minutes waiting time per job at a quick estimate).
> On a not entirely unrelated note, Rene Rivera has added a new feature
> <cxxstd> to Boost.Build that controls the C++ standard in use. So for
> instance, instead of the old
> Â Â b2 libs/mylib/test toolset=gcc cxxflags=-std=c++11
> one can now use
> Â Â b2 libs/mylib/test toolset=gcc cxxstd=11
> In addition to being more convenient, this also allows several
> invocations to be combined into one:
> Â Â b2 libs/mylib/test toolset=clang cxxstd=03,11,14,1z
> which can be leveraged to cut down on the number of jobs.
Thanks for the information Peter, and thanks Rene for the feature. I
test different standard versions locally and I need to set up different
toolsets for that. This simplifies things noticeably.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk