| 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 | | |
| | 946 | |
| | 947 | if 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 | |
| | 955 | else: |
| | 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 | |
| | 960 | if env['JOBS'] > 1: |
| | 961 | SetOption("num_jobs", env['JOBS']) |
| | 962 | |