d12frosted / homebrew-emacs-plus

Emacs Plus formulae for the Homebrew package manager
MIT License
2.38k stars 187 forks source link

Depend on libgccjit and gcc to ensure they're installed at runtime (v28, v29) #757

Closed tkareine closed 6 days ago

tkareine commented 1 week ago

When using the --with-native-comp install option, require libgccjit and gcc as dependencies that are available when running Emacs and the editor compiles *.elc files asynchronously (JIT).

Continues #754 for Emacs v28 and v29.

Before the change, the following command produces empty output:

brew uses --recursive --installed gcc

After the change the command produces:

d12frosted/emacs-plus/emacs-plus@29

Now brew cleanup -s doesn't remove the gcc formula after installing emacs-plus@29 (or @28).