Skip to contentSkip to conversation

How to control make '-j' parallel job limit?

Buildroot Grant Edwards 2 participants 2 messages Feb 3 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): aYI5ces8h1-KOmDJ@windsurf

#2 lore raw
Quoted 7 lines · Thomas Petazzoni via buildroot
Quoted 4 lines · Grant Edwards

How, from the command-line, do we control the '-j' value used by buildroot when doing makes?

We have BR2_JLIMIT set to 0 (auto), and most of the time it uses an

I assume you're talking about BR2_JLEVEL.

[...]

Quoted 3 lines

I must be confused by your question, because the answer is in the question itself: use BR2_JLEVEL. Set it to 8, and it will pass -j8 when building packages.

Doh! My apologies. As you noticed, about one time out of three I seem to type LIMIT instead of LEVEL, and they're visually similar enough that I don't notice even after looking at the file repeatedly.

I apparently tested

make BR2_JLIMIT=3

instead of

make BR2_JLEVEL=3

Sorry for the noise.

--
Grant

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 6 lines · Grant Edwards

Doh! My apologies. As you noticed, about one time out of three I seem to type LIMIT instead of LEVEL, and they're visually similar enough that I don't notice even after looking at the file repeatedly.

I apparently tested

Quoted 7 lines

make BR2_JLIMIT=3

instead of

make BR2_JLEVEL=3

Sorry for the noise.

No worries, glad that it works for you now!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot