Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-07-22 16:27:40


Bart Garst wrote:
> Is it possible to differentiate between compiler versions in a Jamfile?
>
> What I want to do is run our serialization tests (date_time) with gcc but
> only version 3 and up.
>
> Anyone know how to do this?

If the version number is part of the toolset name, for example
gcc-3.2.3-tools.jam, than you can.

Dave just posted about excluding build targets base on the toolset in:

http://aspn.activestate.com/ASPN/Mail/Message/boost/2125392
[boost] Re: Regression Tests, Boost.Serialization :: ASPN Mail Archive
:: boost

Following that example you might write something like:

rule disable-gcc-2.x ( toolset variant : requirements )
{
        if [ MATCH (gcc-2) : $(toolset) ]
        {
                requirements += <build>no ;
        }
        return $(requirements) ;
}

HTH.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk