Boost logo

Boost-Build :

From: Ruediger Berlich (ruediger.berlich_at_[hidden])
Date: 2008-02-15 22:13:40


Jurko Gospodnetić wrote:

> Hi Ruediger.
[...]
> I am not sure what you mean by the 'main Boost Makefile' as I see no
> makefile in either the Boost SVN repository or the packaged release
> distribution. Must be a wrapper added by whoever packaged your Boost
> installation, and in that case that party should work this out.

I am using the original sources from boost.org (or from
boost.sourceforge.net, to be exact), file boost_1_34_1.tar.bz2 . The
Makefile is generated by the configure script when it is called first, so
it is that script that would have to be adapted.

I haven't checked whether this is the same situation on Windows. Probably
not, as "configure" is a shell script. On Linux, however, most people will
just say "configure; make;" in order to build the sources.

> Not sure 'it doesn't hurt on sigle processor machines' as I do not
> think that Boost Jam checks that this is a 2 processor machine and then
> actually starts two parallel build action processes even on a single
> processor machine. This obviously works worse than running a single
> build action process at a time.

I am solely using Linux, so cannot comment on the situation on Windows. On
Linux however, the difference is marginal. The two compilation processes
just get 50% of the available compute time each. There might even be a
small benefit from "-j 2" on one processir, as computation and IO should
work concurrently for the two processes.

Best Regards,
Ruediger


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