Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-03-10 05:23:24


Vladimir Prus wrote:

> On Wednesday 08 March 2006 11:49, Markus Schöpflin wrote:
>> I'm trying to specify dynamic rounding mode on the compiler command line
>> for the numeric interval tests.
>>
>> What I would like to do is best expressed by the following:
>>
>> project
>>
>> source-location $(BOOST_ROOT)
>> requirements
>> <toolset>hp_cxx:<os>tru64:<compileflags>-mfp-rounding-mode=d
>
> This should be:
>
> <toolset>hp_cxx,<os>tru64:<compileflags>-mfp-rounding-mode=d
>
> (i.e. one ":" replaced with ",')

I think I didn't express myself clear enough. No matter what I write after
the requirements, it doesn't show up on the compiler command line for the
test suite.

It seems like the project requirements are not propagated to the test suite
requirements.

>
>> 2. I'm assuming that <os>tru64 is not a valid requirement. What would be
>> the correct specification for this?
>
> Try this:
>
> $bjam -f-
> ECHO $(OS) ;
> <Ctrl-D>
>
> The output is the right value of <os> feautre.

Oh, it's the same as the OS variable. Thanks.

>
>> 3. Is there a reference of all build features and there possible values for
>> V2 available somewhere? I didn't find it in the documentation.
>
> http://boost.org/boost-build2/doc/html/bbv2/advanced/builtins/features.html
>
> Most likely incomplete, but that's what we've got now.

Must have missed this, thanks again.

>> 4. Does <compileflags>"-fprm d" work, or do I need <compileflags>-fprm
>> <compileflags>d like in V1?
>
> The first one will work, and is preferred to the second one.

Ok.

Thanks, Markus


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