Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79969 - trunk/tools/build/v2
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-11 10:49:52


Author: jurko
Date: 2012-08-11 10:49:52 EDT (Sat, 11 Aug 2012)
New Revision: 79969
URL: http://svn.boost.org/trac/boost/changeset/79969

Log:
Boost Build cleanup - build-system.jam module's should-clean-project() rule result caching updated to correctly cache both true and false values. This got 'pessimized' a bit when we started using values directly convertable to false (i.e. undefined value or empty string) as return values for the result false instead of the string "false".
Text files modified:
   trunk/tools/build/v2/build-system.jam | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/build-system.jam
==============================================================================
--- trunk/tools/build/v2/build-system.jam (original)
+++ trunk/tools/build/v2/build-system.jam 2012-08-11 10:49:52 EDT (Sat, 11 Aug 2012)
@@ -504,9 +504,9 @@
 #
 local rule should-clean-project ( project )
 {
- if ! $(.should-clean-project.$(project))
+ if ! $(.should-clean-project.$(project))-is-defined
     {
- local r ;
+ local r = "" ;
         if ! [ project.is-jamroot-module $(project) ]
         {
             local parent = [ project.attribute $(project) parent-module ] ;


Boost-Commit 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