Re: [PATCH v2] Add '--shuffle' argument support

2022-02-20 Thread Sergei Trofimovich
On Sat, Feb 19, 2022 at 09:57:13AM +0200, Eli Zaretskii wrote: > > * Makefile.am (make_SRCS): Add src/shuf.h and src/shuf.c file references. > > * builddos.bat: Add shuf.o into build script. > This should also update build_w32.bat, which is used to build Make on > MS-Windows. I think NEWS

Re: [PATCH v2] Add '--shuffle' argument support

2022-02-18 Thread Eli Zaretskii
> From: Sergei Trofimovich > Date: Fri, 18 Feb 2022 23:50:09 + > Cc: Sergei Trofimovich > > * Makefile.am (make_SRCS): Add src/shuf.h and src/shuf.c file references. > * builddos.bat: Add shuf.o into build script. > * doc/make.1: Add '--shuffle' option description. > * doc/make.texi: Add

[PATCH v2] Add '--shuffle' argument support

2022-02-18 Thread Sergei Trofimovich
From: Sergei Trofimovich The idea of the change is to introduce non-deterministic ordering into goal and prerequisite traversal to imitate non-deterministic ordering of 'make -j g1 g2 g3' mode. The implementation is to introduce second order into each dependency chain: 1. existing order is