Subject: Re: [Boost-build] two really dumb questions
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-06-14 18:22:49
On 06/14/2017 11:45 AM, Robert Ramey via Boost-build wrote:
> I'm trying to get safe numerics tweaked to work with bjam.
> First question:
> I've got the Jamfile.v2 in the safe_numerics/test directory so it works
> to my satisfaction when I invoke b2 from within that same directory.
> Same goes for safe_numerics/example directory. Now I want to run both
> Jamfiles Based on the information from
> I created a Jamefile.v2 which looks like this
> build-project examples
> build-project test
> #build-project performance
You're missing some semicolons.
> and attempt to run b2 on that. But it doesn't produce any results. All
> I get is:
> boost_root: /Users/robertramey/WorkingProjects/modular-boost
> locate_root: /Users/robertramey/WorkingProjects/modular-boost
> You will need to manually configure MPI support.
> ...found 1 target...
I have no idea what you tried. This output appears
to mix output from b2 and process_jam_log.
> Where am I going wrong here?
> Second question:
> From the same tutorial it describes the song and dance that bjam goes
> through to find the Jamroot and all the installed tools. But it looks
> like that the project has to be in a subdirectory of the boost
> distribution. And indeed, it doesn't work when moved outside the boost
> directory tree. Is there something that I can do so the safe_numerics
> project can be placed outside of the boost super project.
Install Boost.Build using the instructions here:
(This is the simplest way to allow Boost.Build to
be used outside the Boost tree.)
You'll need to have a Jamroot somewhere.
If you depend on any Boost headers, then you'll
need to specify the include path somehow as well.
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