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:
[boost] Re: Regression Tests, Boost.Serialization :: ASPN Mail Archive
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) ;
-- -- 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