You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, make test-all is serialized because we were limited by the generated string worker. Now that #214 is resolved we can probably parallelize a lot more. Ideally this should happen by default, but we need to make sure the output is possible to debug.
time make test-all # 49.77sectime make -j16 test-all # 10.91sec
Challenges:
Handle interleaved output
Surface error output clearly
make -j16 test-all seems to fail when invoked from inside a Makefile. I currently suspect this is because rm -rf causes race conditions even after it's supposedly done.
The text was updated successfully, but these errors were encountered:
Looks like some of the challenges would be solved by using the -O flag to make:
‘-O[type]’
‘--output-sync[=type]’
Ensure that the complete output from each recipe is printed in one uninterrupted sequence. This option is only useful when using the --jobs option to run multiple recipes simultaneously (see [Parallel Execution](https://www.gnu.org/software/make/manual/html_node/Parallel.html)) Without this option output will be displayed as it is generated by the recipes.
With no type or the type ‘target’, output from the entire recipe of each target is grouped together. With the type ‘line’, output from each line in the recipe is grouped together. With the type ‘recurse’, the output from an entire recursive make is grouped together. With the type ‘none’, no output synchronization is performed. See [Output During Parallel Execution](https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html).
Right now,
make test-all
is serialized because we were limited by the generated string worker. Now that #214 is resolved we can probably parallelize a lot more. Ideally this should happen by default, but we need to make sure the output is possible to debug.Challenges:
make -j16 test-all
seems to fail when invoked from inside aMakefile
. I currently suspect this is becauserm -rf
causes race conditions even after it's supposedly done.The text was updated successfully, but these errors were encountered: