August 13, 2023
This is an update to my post about compiling Emacs 28.1 from source. With the recent release of Emacs 29.1, here are the steps I used to upgrade.
brew update brew reinstall gcc brew install libgccjit texinfo sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install
It still seems to be necessary to re-install Xcode command-line tools to prevent Emacs from getting killed on launch.
I don't tend to remote into my Emacs session any more so I didn't bother updating or applying the multi-tty patch. I may reconsider that if my needs change in the future.
git clone https://bitbucket.org/mituharu/emacs-mac cd emacs-mac git checkout emacs-29.1-mac-10.0
autoreconf -i ./configure \ --with-native-compilation \ --with-modules \ --enable-mac-app \ --with-xwidgets \ --with-no-frame-refocus \ --prefix=/Applications/Emacs.app/Contents/Resources make install
This was very smooth for me, probably because I had things nicely wired up from my previous installation. Good luck!