summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Taskmaster.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-02-09 06:59:46 (GMT)
committerSteven Knight <knight@baldmt.com>2004-02-09 06:59:46 (GMT)
commite83632fa336430dcfb76881d9130169bf27420f7 (patch)
tree2179fb29cac6cb7112e1b9b423e6a42ebb6fdd8f /src/engine/SCons/Taskmaster.py
parent6cd1a4e5447a832a89d738b9cd545a2a9bc57f33 (diff)
downloadSCons-e83632fa336430dcfb76881d9130169bf27420f7.zip
SCons-e83632fa336430dcfb76881d9130169bf27420f7.tar.gz
SCons-e83632fa336430dcfb76881d9130169bf27420f7.tar.bz2
Save memory by allowing Nodes to clean up their Executor's build environments after they've been built.
Diffstat (limited to 'src/engine/SCons/Taskmaster.py')
-rw-r--r--src/engine/SCons/Taskmaster.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine/SCons/Taskmaster.py b/src/engine/SCons/Taskmaster.py
index 66492de..8afd847 100644
--- a/src/engine/SCons/Taskmaster.py
+++ b/src/engine/SCons/Taskmaster.py
@@ -181,6 +181,13 @@ class Task:
side_effect.set_state(state)
t.set_state(state)
+ def postprocess(self):
+ """Post process a task after it's been executed."""
+ for t in self.targets:
+ t.postprocess()
+
+
+
def order(dependencies):
"""Re-order a list of dependencies (if we need to)."""
return dependencies