On Tue, 2024-10-29 at 22:02 +0000, Andrew wrote:
> > GNU Make has supported non-interleaved output since version 4.0
> (released in 2013).
> 
> Is this with the GNU option --output-sync?

Yes.

> GNU make 4.4.1 interleaves output on macOS by default.

All versions interleave by default.

> I wish the capability were opt out. Anyone that fixated on
> performance will have bigger problems due to the sheer number of log
> lines involved, nevermind concurrency issues.

If you want to discuss this, the [email protected] or [email protected]
mailing lists are the proper forum (no subscription required to post to
those lists).  It's not really appropriate for the OpenGroup lists.

However, there are real downsides to synchronized output, since output
(a) goes to a file not a terminal and (b) cannot be printed until the
recipe is completely finished.  For example, if the recipe runs a sub-
make then nothing is printed until the entire sub-make is complete
which could be many minutes or even hours.

If you prefer to have synchronized output enabled by default for your
own environment, you can add the option to the GNUMAKEFLAGS environment
variable.

  • request: make [-j... Andrew via austin-group-l at The Open Group
    • Re: request:... Lawrence Velázquez via austin-group-l at The Open Group
    • Re: request:... Rob Landley via austin-group-l at The Open Group
      • Re: requ... G. Branden Robinson via austin-group-l at The Open Group
      • Re: requ... Andrew via austin-group-l at The Open Group
        • Re: ... Paul Smith via austin-group-l at The Open Group
          • ... Andrew via austin-group-l at The Open Group
            • ... Paul Smith via austin-group-l at The Open Group
              • ... David A. Wheeler via austin-group-l at The Open Group
                • ... Paul Smith via austin-group-l at The Open Group
                • ... Steffen Nurpmeso via austin-group-l at The Open Group
        • Re: ... Rob Landley via austin-group-l at The Open Group
          • ... enh via austin-group-l at The Open Group
          • ... Paul Smith via austin-group-l at The Open Group
            • ... David A. Wheeler via austin-group-l at The Open Group
              • ... Steffen Nurpmeso via austin-group-l at The Open Group
              • ... Paul Smith via austin-group-l at The Open Group
                • ... Dmitry Goncharov via austin-group-l at The Open Group

Reply via email to