question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add make version 4.3 to speedup parallel build

See original GitHub issue

Hi,

as pointed out at the first ClangBuiltLinux Meetup in Zurich I suggest to try make version 4.3 to check if we see some speedups in parallel builds.

The official release announcement [1] and a review in German [2] is added.

While dealing with GNU make I fell over this commit (“pipe: use exclusive waits when reading or writing”) in Linus tree [3] which reports to speedup parallel-make-jobs when building a Linux-kernel significantly.

Speaking for the Debian side there is 'make (4.2.1-1.2)` in buster/testing/unstable available.

[1] https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html [2] https://www.heise.de/developer/meldung/Build-Tool-GNU-Make-4-3-verbessert-die-Performance-4641700.html [3] https://git.kernel.org/linus/0ddad21d3e99c743a3aa473121dc5561679e26bb

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
nathanchancecommented, Feb 21, 2020

I think this is an exercise best left up to the user. We only use make when doing kernel builds which only happens when using --pgo, so I would argue it probably won’t be that big of a difference. I can try to write a hyperfine benchmark that evaluates make 4.2.1 versus 4.3 and see what kind of difference it makes but I think building make as a part of the script is out of scope.

0reactions
dilekscommented, Jun 22, 2020

My observation on Debian/testing AMD64 were similiar: No big differences in build-time between Debian’s make v4.2.1 and v4.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Design a Parallel Program
If the parallel version does not run faster, try it with larger image sizes. 4.3 Matrix Multiply (CS1) - Parallel Matrix Multiplication Using...
Read more >
Makepkg
makepkg is a script to automate the building of packages. The requirements for using the script are a build-capable Unix platform and a ......
Read more >
Use GNU Parallel to Speed Up Script Execution ...
Make is already doing a good job at distributing compilation tasks to several cores, and distcc can be used to extend that to...
Read more >
Android Build System
4.1 build helper functions; 4.2 build variables; 4.3 Add a file directly to ... and is used to execute 4 make sessions that...
Read more >
Howto: Building R-devel and packages on Windows
R-devel may be changed to use a newer future version of Rtools before R 4.3.0 is released. The installer has currently about 400MB...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found