Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build script for NS build with inline-patch for macOS Mojave (26.1.50)
#!/bin/sh
cd ~/Desktop
git clone git://git.sv.gnu.org/emacs.git
curl -LO https://gist.githubusercontent.com/takaxp/3314a153f6d02d82ef1833638d338ecf/raw/156aaa50dc028ebb731521abaf423e751fd080de/emacs-25.2-inline.patch
cd emacs
# git reset --hard 6217746dd6
git checkout -b emacs-26
git reset --hard 9ad0f1d15c
patch -p1 < ../emacs-25.2-inline.patch
sleep 5
./autogen.sh
./configure CC=clang --without-x --with-ns --with-modules
# ./configure CC=clang --with-xwidgets --with-modules --with-imagemagick
make bootstrap -j1
make install -j1
cd ./nextstep
open .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.