Last active
September 24, 2019 15:53
-
-
Save takaxp/5bb38d3d4f691964c12e90d0a49c9ce2 to your computer and use it in GitHub Desktop.
Build script for NS build with inline-patch for macOS Mojave (26.1.50) (see also https://qiita.com/takaxp/items/e07bb286d80fa9dd8e05)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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