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

Update entrypoint.sh to use $THREADS for parallel compilation on start if present #673

Merged
merged 4 commits into from
Jun 26, 2023

Conversation

maccam912
Copy link
Contributor

@maccam912 maccam912 commented Jun 25, 2023

Description
This updates entrypoint.sh to make use of the THREADS environment variable if present to speed up compilation on startup. In my case, I have an older, slower CPU which has 24 cores, so it makes a big difference for me. If that is not set, it will use 1 thread as it does now.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@maccam912
Copy link
Contributor Author

Well I tried fixing the newline at the end, commit happened but didn't change anything 🤷

Copy link
Owner

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, thank you!

@mudler mudler merged commit c2dec38 into mudler:master Jun 26, 2023
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