Bug 7838 - Output from parallel make is difficult to read
Summary: Output from parallel make is difficult to read
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks: 2783
  Show dependency treegraph
 
Reported: 2022-02-17 11:05 CET by Pierre Ossman
Modified: 2022-02-22 12:37 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-02-17 11:05:20 CET
When running make with multiple jobs (-j#), we get a massive speedup as we can use more CPU cores. The cost is unfortunately that the output will become jumbled as commands are intermixed. This makes it difficult to follow what happens when we need to debug something.

Fortunately newer make has support for buffering data and outputting it in a more readable order (likely to compete with ninja). It is documented here:

https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html

It is unclear what version added this. Our 3.82 doesn't have it, but Fedora's 4.3 does.

Note You need to log in before you can comment on or make changes to this bug.