this post was submitted on 15 Apr 2025
7 points (100.0% liked)

C & C++

976 readers
1 users here now

founded 6 years ago
MODERATORS
 

Using the -j option is ignored. About two weeks ago I found out that cmake was compiling with only one thread but everything was ok a couple of months ago. I'm using Debian Trixie which is still in testing so I thought it was a bug, but after many system updates I didn't saw cmake being updated. I couldn't find anything after a some searches. Another related issue is that I recently compiled a new version of a qt app with an edit box to set the number of threads for running LLMs, after the last compilation it doesn't allow to set more than one. Any clue?

top 2 comments
sorted by: hot top controversial new old
[–] otacon239@lemmy.world 2 points 7 months ago (1 children)

I know when I’m doing compiling myself, I add my ‘-j’ along with my make command. I’m a total noob at compiling so this may just be me not understanding that you can put it on either command.

[–] corvus@lemmy.ml 1 points 7 months ago

yeah, both have same the option, -j N lets you execute the compiling with N parallel jobs. In the case of make using -j without arguments it compiles without setting a limit for parallel jobs.