Post Ab3blWTmfICylUn5hA by josh@social.joshtriplett.org
 (DIR) More posts by josh@social.joshtriplett.org
 (DIR) Post #Ab3blV5dpZIoSKUIQS by kees@fosstodon.org
       2023-10-19T19:39:53Z
       
       0 likes, 1 repeats
       
       I have been building software with "make" for *mumble* decades and I just found --output-sync=line to keep parallel make output from producing interlaced lines. Why is this not the default option when building in parallel? Do other CI systems already know about this?https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
       
 (DIR) Post #Ab3blWTmfICylUn5hA by josh@social.joshtriplett.org
       2023-10-23T08:39:16.533902Z
       
       1 likes, 0 repeats
       
       It has downsides: if you run `make` with `--output-sync=line` then you don't get any output from any individual command until the command finishes. That's fine if each individual compile takes relatively little time, but it's annoying if one command might take many seconds and you'd like the incremental progress. It's probably the right behavior in *most* cases, but it might be disruptive as a default.Also, it breaks anything expecting a terminal, so no colors, terminal formatting, or progress bars in your output.