"--parallel" absent from cmake command #4250
Closed
klausholstjacobsen
started this conversation in
General
Replies: 2 comments
-
@klausholstjacobsen Could you create a bug for this? This definitely sounds like a bug with how we're handling the "jobs" and "parallelJobs" attribute. For context, our aim is to, in Presets scenarios, use the "jobs" attribute, and in non-presets cases, use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
vscode: 1.96.4
cmake-tools: 1.19.52
cmake 3.28.1
OS: wsl2 ubuntu 22.04
We are two developer using more or less identical vscode setups.
We are however experiencing different cmake behaviour.
We have a cmake project using CMakePresets. In CMakePresets.json there is no "Jobs" attribute.
When I change the "cmake.parallelJobs" setting in vscode I get a cmake command line that reflects that value including "--parallel xx".
My colleague, however, get a cmake build command with no "--parallel xx" argument at all. It doesn't matter what value he chooses or if he removes it entirely from his user settings. It always runs the cmake build command without "--parallel xx".
The only way he can get some kind of "--parallel" argument is by adding "jobs" to his build preset in CMakePresets.json.
Does this ring a bell in this forum what he could've done different than on my setup to provoke this kind of behaviour?
We have even tried to copy his entire user settings json to my installation. But I still get a cmake command that obeys what I have in cmake.parallelJobs
Regards
Klaus
Beta Was this translation helpful? Give feedback.
All reactions