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

[Installation Question] How do I install emacs-28 --with-native-comp from a specific commit #357

Closed
CsBigDataHub opened this issue May 24, 2021 · 7 comments
Assignees
Labels

Comments

@CsBigDataHub
Copy link
Contributor

How do I pin the emacs-plus --with-native-comp to a specific commit.

want to use verified good commits.

jimeh/build-emacs-for-macos#6

@d12frosted
Copy link
Owner

You can brew edit emacs-plus@28 and manually pin to specific revision.

@CsBigDataHub
Copy link
Contributor Author

Thanks @d12frosted . Also is it possible to add this feature with --with-native-comp ?

-j, --parallel COUNT             Compile using COUNT parallel processes (detected: 8)

@d12frosted
Copy link
Owner

Since you are making local edits, you can pass extra arguments. Though maybe this particular argument should be passed by default 🤔

@CsBigDataHub
Copy link
Contributor Author

Since you are making local edits, you can pass extra arguments. Though maybe this particular argument should be passed by default 🤔

+1 for this feature. I have i9 macbook pro and by default the build is taking ~25 mins. I would like to speed up that process and put the cores to good use.

@jimeh
Copy link

jimeh commented May 26, 2021

I believe Homebrew already sets make to use as many jobs as your machine has CPU cores, by setting MAKEFLAGS.

For reference, search for HOMEBREW_MAKE_JOBS on this page, and check this issue from 2010: Homebrew/legacy-homebrew#3118

According to the above issue, if you run brew install --verbose <formula-name> you should see it setting MAKEFLAGS to include -j. Though I haven't tested it myself :)

@CsBigDataHub
Copy link
Contributor Author

Thanks @jimeh and @d12frosted . I am closing this issue. I think I got all the information I need.

@d12frosted
Copy link
Owner

d12frosted commented May 27, 2021

@jimeh you are right. I totally forgot that it already supported by brew out of box. Thanks for reminding ❤️

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

No branches or pull requests

3 participants