summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins@gmail.com>2015-08-07 14:29:05 (GMT)
committerWilliam Blevins <wblevins@gmail.com>2015-08-07 14:29:05 (GMT)
commit352c0ef0203f0f09de077d1662f95d896f08ff1c (patch)
tree93b16a3742f25bfa2c0674957a2791d587c882c7 /src
parent27ae977d3fa04e29166e172fa64f7b5439d9f0c8 (diff)
downloadSCons-352c0ef0203f0f09de077d1662f95d896f08ff1c.zip
SCons-352c0ef0203f0f09de077d1662f95d896f08ff1c.tar.gz
SCons-352c0ef0203f0f09de077d1662f95d896f08ff1c.tar.bz2
Issue 2264: removed implicit dependency recursion from install targets.
Resolves performance issue with implicit dependencies (without builders) reinstalling. Example (C++): A.h includes B.h and both are installed somewhere. B.h is updated so both A.h and B.h would be reinstalled because B.h changed. A.h didn't need to be reinstalled for obvious reasons. Background info: this was already an issue for any scanner added to SCANNERS environment. Did not occur originally because default scanners not in SCANNERS environment.
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Tool/install.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/install.py b/src/engine/SCons/Tool/install.py
index 9f2e937..847af34 100644
--- a/src/engine/SCons/Tool/install.py
+++ b/src/engine/SCons/Tool/install.py
@@ -447,6 +447,7 @@ def generate(env):
source_factory = env.fs.Entry,
multi = 1,
emitter = [ add_targets_to_INSTALLED_FILES, ],
+ source_scanner = SCons.Scanner.Base( {}, name = 'Install', recursive = False ),
name = 'InstallBuilder')
global BaseVersionedInstallBuilder