Elektrine lite

← Feed

@Mehrad@fosstodon.org

Post #2353289

2026-05-06 11:22 UTC

@shepherd@fosstodon.org Do I understand correctly that you are suggesting that I should also set the `--max-jobs` CLI flag in `guix upgrade`?

Replies (2)

  • @shepherd@fosstodon.org 2026-05-06 12:40

    @Mehrad@fosstodon.org That's right.

    Open ##2353290

  • @shepherd@fosstodon.org 2026-05-06 12:46

    @Mehrad@fosstodon.org To be clear, setting the cores flag `-c` is for limiting the resources, not for granting more, each derivation is built with the cores set to all the available ones. It's for situations where you may want to spread the load between a few derivations. For example, if you are building `gcc@12` and `gcc@13`, you may want to do `guix build -c 25 -M 2 ...`, given you have enough cores available. I'm assuming that GCC caps the builds at 24 cores (I don't recall if that's true).

    Open ##2353291