Skip to content
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

createrelease: use -j12 to build faster, build with -O2 #5798

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

danmar
Copy link
Owner

@danmar danmar commented Dec 23, 2023

No description provided.

@danmar danmar merged commit 0fec74d into danmar:main Dec 23, 2023
68 checks passed
@firewave
Copy link
Collaborator

firewave commented Jan 4, 2024

That should use $(nproc) so it will use the actual available cores.

@danmar
Copy link
Owner Author

danmar commented Jan 4, 2024

That should use $(nproc) so it will use the actual available cores.

however I don't want to use all cores. that can affect my user experience negatively when I do something with the computer meanwhile..

@firewave
Copy link
Collaborator

firewave commented Jan 4, 2024

You can use something like this to just use 80% of the cores:

np=$(nproc)
np=$((np * 8))
np=$((np / 10))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants