-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the reason for this initial_num_jobs plus one? #89504
Comments
When the CPU core number is greater than 4, why-1? |
If I specify-j, it will +1 regardless of the number of CPU cores. |
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
As I mentioned in your previous issue, this platform is for bug reports, not for asking questions about why the code is this way or that way. I also asked you multiple times to explain why you're asking all those questions about our SCons usage. I'm the maintainer of the Godot buildsystem, and while I'm generally happy to help users understand how it works, but context is important. Without context, this is very likely a XY Problem type of situation (which was exemplified when you were trying to understand our 6 year old Godot 3.0 SCons code...). This is starting to be a very one-sided conversation, on the wrong platform, and t.thus my patience is running ou
That's not correct. Here's me running
Two threads. The comment in the code explains why this code is like this.
You can use |
I suddenly understand. Thank you. |
SetOption function is invalid when-j option is set on command line. |
My translation software is so bad that I mistranslated comments. |
Tested versions
short_name = "godot"
name = "Godot Engine"
major = 4
minor = 3
patch = 0
status = "dev"
module_config = ""
website = "https://godotengine.org"
docs = "latest"
System information
linux
Issue description
Steps to reproduce
If I specify-j, it's always +1.I don't think this code is necessary, and the -j option should be widely known. It is better to delete this code!
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: