Get the latest tech news

New make --shuffle mode (2022)


TL;DR: I implemented new --shuffle option for GNU make to simulate non-deterministic build order in parallel makefiles. UPDATE: --shuffle mode was released as part of GNU make 4.4 and can be used as: make --shuffle ...from the command line.

I implemented new--shuffle option for GNU make to simulate non-deterministic build order in parallel makefiles. Initial idea was very simple: pick target order at Makefile parse time and reshuffle the lists randomly. Paul did not seem to object too much to the idea and pointed out that implementation will break more complex Makefile s as there is a simple way to refer to individual prerequisites by number.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of mode

mode

Photo of New make

New make

Related news:

News photo

Assassin's Creed Shadows has a "canon mode" story option without narrative choices

News photo

Still Wakes The Deep's eldritch terrors are now available in a black-and-white mode

News photo

Show HN: AutoPiP – Safari extension for automatic Picture-in-Picture mode