Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-01 10:16:30


On Wednesday 01 June 2005 19:09, Toon Knapen wrote:
> Vladimir Prus wrote:
> > Okay, I've disabled this "localization" logic, and with yet another
> > unrelated patch intel now passes all the tests (except for 'railsys',
> > because I don't know how to use intel with stlport).
>
> great. Thanks. Could you tell me which file you patched > so that I can
> try to backport it to the version of boost-build I'm currently using.

build/toolset.jam, revision 1.33, with this patch:

Index: toolset.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/build/toolset.jam,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- toolset.jam 22 Dec 2004 08:08:10 -0000 1.32
+++ toolset.jam 31 May 2005 14:49:18 -0000 1.33
@@ -372,7 +372,7 @@
local id = [ MATCH "[^.]*\.(.*)" : [ $(g).id ] ] ;
rules += $(id) ;
}
- IMPORT $(base) : $(rules) : $(toolset) : $(rules) : localized ;
+ IMPORT $(base) : $(rules) : $(toolset) : $(rules) ;
# Import the rules to the global scope
IMPORT $(toolset) : $(rules) : : $(toolset).$(rules) ;
}

and of course, a patch to intel.jam itself (rev 1.13):

Index: intel-linux.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/intel-linux.jam,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- intel-linux.jam 21 Dec 2004 09:00:11 -0000 1.12
+++ intel-linux.jam 31 May 2005 14:47:41 -0000 1.13
@@ -39,6 +39,8 @@

}

+SPACE = " " ;
+
flags intel-linux.compile OPTIONS <inlining>off : "-Ob0" ;
flags intel-linux.compile OPTIONS <inlining>on : "-Ob1" ;
flags intel-linux.compile OPTIONS <inlining>full : "-Ob2" ;

> If
> it's a non-obvious patch, never mind, I will try to upgrade to the
> latest boost-build in CVS (but if I do this I need to verify if
> everything still works on 5 platforms which is a non-trivial task;-)

Yea, I suppose it's hard, given that I have troubles testing with just 2 OSes

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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