Add multi-threaded compiling #605
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#605
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
make it so it uses all your cpu threads when it's compiling the game so it compiles much faster
Anything else
No response
Its already multithreaded.
for some reason, at least on linux, it doesn't work so it takes ages
Bro use top or htop and see how all your threads are pinned to 100%.....
Recompiling to C hundred of thousands of functions takes time, yes
I've looked at my cpu usage, it should be pinned at 100% when compiling but it isn't
You are right. The appimage has a different way of defining the number of jobs, which is much more conservative. Working on a PR that fixes it. No idea why it happens.
The issue was that Windows was being updated and Linux wasn't, so the rules weren't being applied equally. Its fixed in the PR.