File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
65
65
Python to 3.6, and it was not until Python 3.7 where `threading` became
66
66
default supported. In practice, we expect most real world Python 3.6 deployments
67
67
will have `threading` support enabled, so this will not be an issue.
68
+ - CacheDir writes no longer happen within the taskmaster critical section,
69
+ and therefore can run in parallel with both other CacheDir writes and the
70
+ taskmaster DAG walk.
68
71
69
72
From Mats Wichmann:
70
73
- Add support for Python 3.13 (as of alpha 2). So far only affects
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ IMPROVEMENTS
63
63
the new scheduler is now used for -j1 builds as well.
64
64
NOTE: This should significantly improve SCons performance for larger parallel builds
65
65
(Larger -j values)
66
+ - CacheDir writes no longer happen within the taskmaster critical section, and therefore
67
+ can run in parallel with both other CacheDir writes and the taskmaster DAG walk.
66
68
67
69
68
70
PACKAGING
Original file line number Diff line number Diff line change @@ -244,6 +244,8 @@ def execute(self):
244
244
SCons .Warnings .warn (SCons .Warnings .CacheCleanupErrorWarning ,
245
245
"Failed copying all target files from cache, Error while attempting to remove file %s retrieved from cache: %s" % (t .get_internal_path (), e ))
246
246
self .targets [0 ].build ()
247
+ for t in self .targets :
248
+ t .push_to_cache ()
247
249
else :
248
250
for t in cached_targets :
249
251
t .cached = 1
@@ -299,8 +301,6 @@ def executed_with_callbacks(self) -> None:
299
301
for side_effect in t .side_effects :
300
302
side_effect .set_state (NODE_NO_STATE )
301
303
t .set_state (NODE_EXECUTED )
302
- if not t .cached :
303
- t .push_to_cache ()
304
304
t .built ()
305
305
t .visited ()
306
306
if (not print_prepare and
You can’t perform that action at this time.
0 commit comments