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

Please add a --with-c-source flag #548

Open
offbyone opened this issue Feb 11, 2023 · 1 comment
Open

Please add a --with-c-source flag #548

offbyone opened this issue Feb 11, 2023 · 1 comment
Assignees

Comments

@offbyone
Copy link

I would like to install this with the C source attached, so that when I look for references to variables or functions, the C source is in a predictable location.

Looking at the installed content, I can't find any sign of it; if it's in a different location, I'm also happy to locate it from there.

Thanks for the formula in general, though!

@d12frosted
Copy link
Owner

Hey

I would like to install this with the C source attached, so that when I look for references to variables or functions, the C source is in a predictable location.

Both emacs-plus@29 and emacs-plus@30 are always built from sources, and you can find the source under $HOME/Library/Caches/Homebrew/emacs-plus@29--git/ or $HOME/Library/Caches/Homebrew/emacs-plus@30--git/ respectively. So until released there is no need to provide any extra options here.

Released versions (e.g. emacs-plus@28) have --HEAD option which installs from git source. And that gives the same effect as with unreleased versions. Though, a slightly different version.

In theory, we might provide an extra option to build released version from git source instead of provided tar files. The source will be located in the very same $HOME/Library/Caches/Homebrew/emacs-plus@VERSION--git. Though I would love to avoid that and provide either --HEAD or released version.

That being said, is $HOME/Library/Caches/Homebrew/emacs-plus@VERSION--git a "predictable location" for you?

P.S. Just for completeness. brew provides an option to build from source (--build-from-source or -s for short), which builds from source even if bottle is available. I do not provide bottles anymore.

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

No branches or pull requests

2 participants