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

change mk_add_options MOZ_MAKE_FLAGS="-j5" to mk_add_options MOZ_MAKE_FLAGS="-j$(sysctl -n hw.ncpu)" on macos #217

Open
k2662 opened this issue Sep 6, 2024 · 1 comment

Comments

@k2662
Copy link

k2662 commented Sep 6, 2024

we should change

mk_add_options MOZ_MAKE_FLAGS="-j5"

to

mk_add_options MOZ_MAKE_FLAGS="-j$(sysctl -n hw.ncpu)"
@k2662 k2662 changed the title change mk_add_options MOZ_MAKE_FLAGS="-j5" to mk_add_options MOZ_MAKE_FLAGS="-j$(sysctl -n hw.ncpu)" change mk_add_options MOZ_MAKE_FLAGS="-j5" to mk_add_options MOZ_MAKE_FLAGS="-j$(sysctl -n hw.ncpu)" on macos Sep 6, 2024
@Alex313031
Copy link
Owner

@k2662 Good idea. You can make a PR if you want, or I could change it. Note that the mozconfig files for cross-compiling on linux for mac should be left as is, or for an equivalent, use $NPROC

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

No branches or pull requests

2 participants