diff options
| author | Gary Oberbrunner <garyo@oberbrunner.com> | 2010-08-12 03:06:22 (GMT) |
|---|---|---|
| committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2010-08-12 03:06:22 (GMT) |
| commit | 1ef3efb9b491fc87bccce16721564f79a377bce3 (patch) | |
| tree | 6fecfc54f2d46090cd7a959f8a3366dba99e8a2c /src | |
| parent | 3dbb30e02538ae489ba1fe65d2771f773906107d (diff) | |
| download | SCons-1ef3efb9b491fc87bccce16721564f79a377bce3.zip SCons-1ef3efb9b491fc87bccce16721564f79a377bce3.tar.gz SCons-1ef3efb9b491fc87bccce16721564f79a377bce3.tar.bz2 | |
Fix issue with implicit-cache when files are removed on disk. Fixes issue #1938.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CHANGES.txt | 5 | ||||
| -rw-r--r-- | src/engine/SCons/Node/__init__.py | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 4c1bc5b..85d5bda 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -7,6 +7,11 @@ RELEASE 2.1.0.alpha.yyyymmdd - NEW DATE WILL BE INSERTED HERE + From Allen Weeks: + + - Fix for an issue with implicit-cache with multiple targets + when dependencies are removed on disk. + From Evgeny Podjachev: - Support generation of Microsoft Visual Studio 2008 (9.0) diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py index 0bf490f..2fbe2c6 100644 --- a/src/engine/SCons/Node/__init__.py +++ b/src/engine/SCons/Node/__init__.py @@ -628,9 +628,10 @@ class Node(object): if implicit_deps_unchanged or self.is_up_to_date(): return # one of this node's sources has changed, - # so we must recalculate the implicit deps: - self.implicit = [] - self.implicit_set = set() + # so we must recalculate the implicit deps for all targets + for tgt in executor.get_all_targets(): + tgt.implicit = [] + tgt.implicit_set = set() # Have the executor scan the sources. executor.scan_sources(self.builder.source_scanner) |
