Changeset 1440

Show
Ignore:
Timestamp:
12/02/09 17:13:48 (8 months ago)
Author:
dane
Message:

FAST and JOBS Scons options never worked because they need to be applied to the build step not configure - thanks timlinux for catching

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1416 r1440  
    569569    env['PLUGINS'] = PLUGINS 
    570570     
    571     if env['FAST']: 
    572         # caching is 'auto' by default in SCons 
    573         # But let's also cache implicit deps... 
    574         EnsureSConsVersion(0,98) 
    575         SetOption('implicit_cache', 1) 
    576         env.Decider('MD5-timestamp') 
    577         SetOption('max_drift', 1) 
    578          
    579     else: 
    580         # Set the cache mode to 'force' unless requested, avoiding hidden caching of Scons 'opts' in '.sconsign.dblite' 
    581         # This allows for a SCONS_LOCAL_CONFIG, if present, to be used as the primary means of storing paths to successful build dependencies 
    582         SetCacheMode('force') 
    583      
    584     if env['JOBS'] > 1: 
    585         SetOption("num_jobs", env['JOBS'])   
    586      
    587571    if env['PKG_CONFIG_PATH']: 
    588572        env['ENV']['PKG_CONFIG_PATH'] = env['PKG_CONFIG_PATH'] 
     
    960944Export('env') 
    961945 
     946 
     947if env['FAST']: 
     948    # caching is 'auto' by default in SCons 
     949    # But let's also cache implicit deps... 
     950    EnsureSConsVersion(0,98) 
     951    SetOption('implicit_cache', 1) 
     952    env.Decider('MD5-timestamp') 
     953    SetOption('max_drift', 1) 
     954     
     955else: 
     956    # Set the cache mode to 'force' unless requested, avoiding hidden caching of Scons 'opts' in '.sconsign.dblite' 
     957    # This allows for a SCONS_LOCAL_CONFIG, if present, to be used as the primary means of storing paths to successful build dependencies 
     958    SetCacheMode('force') 
     959 
     960if env['JOBS'] > 1: 
     961    SetOption("num_jobs", env['JOBS'])   
     962     
    962963# Build agg first, doesn't need anything special 
    963964if env['INTERNAL_LIBAGG']: