Post #2353292
2026-05-06 16:19 UTC
@shepherd@fosstodon.org @Mehrad@fosstodon.org Yeah it makes sense when you _know_ what it's doing, but it's slightly counter-intuitive.
The --max-jobs is for how many builds the guix daemon will do in parallel.
If you are building lots of small libraries then it makes sense to use it. If you are building one big thing, then it won't help.
The --cores assigns the number of cores PER BUILD. So if you have 4 builds (--max-jobs 4), and you set --cores 2, then it will use 8 in total.
Replies (1)
-
@futurile@mastodon.social 2026-05-06 16:21
@shepherd@fosstodon.org @Mehrad@fosstodon.org There's no built-in way to speed it up that I know off. Some parts just seem slow. Some parts may be naive and don't cache anything: so something like a cc-cache could work I guess. Annoyingly you can't restart a long-running build.