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

Can I build emacs 27.1 with native-comp? #22

Closed
Sleepful opened this issue Nov 26, 2020 · 1 comment
Closed

Can I build emacs 27.1 with native-comp? #22

Sleepful opened this issue Nov 26, 2020 · 1 comment

Comments

@Sleepful
Copy link

Sleepful commented Nov 26, 2020

I run doom emacs, and they only support up to emacs 27, readme says that native-comp installs eamcs 28.

What's the difference between these:

  • ./build-emacs-for-macos emacs-27.1 --native-comp
  • ./build-emacs-for-macos feature/native-comp
@jimeh
Copy link
Owner

jimeh commented Dec 23, 2020

In short, no. Native-comp is based on top of the current master branch, which is Emacs 28.

From what I recall with doom-emacs, it required Emacs 26.1 or later, with 27 being recommended. And I'm pretty sure I've toyed with doom-emacs on a native comp build without issue.

To answer your question of what the difference is between those commands:

  • ./build-emacs-for-macos emacs-27.1 --native-comp will download and build from the emacs-27.1 branch, and due the --native-comp flag it will check for native-comp support in the configure script, which will fail, and it should exit with an error.
  • ./build-emacs-for-macos feature/native-comp will download and buld from the feature/native-comp branch. As neither --native-comp or --no-native-comp is given to explicitly enable/disable native-comp, it will attempt to detect support for native-comp, and enable it if detected.

I'm closing this issue now, but feel free to reply if you've got any more questions.

@jimeh jimeh closed this as completed Dec 23, 2020
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