Last active
March 4, 2022 06:25
-
-
Save na0x2c6/038047e6c9b642014a5ce1af09974fd2 to your computer and use it in GitHub Desktop.
build Vim on OS X (Mac)
This file contains hidden or 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
./configure \ | |
--prefix=$HOME/local \ | |
--enable-multibyte \ | |
--enable-nls \ | |
--enable-perlinterp \ | |
--enable-pythoninterp=dynamic \ | |
--enable-python3interp=dynamic \ | |
--enable-rubyinterp \ | |
--enable-luainterp --with-lua-prefix=/usr/local \ | |
--enable-cscope \ | |
--enable-fail-if-missing=yes \ | |
--with-features=huge \ | |
--without-x \ | |
--disable-xim \ | |
--disable-gui \ | |
--disable-sysmouse \ | |
--disable-netbeans \ | |
--disable-xsmp \ | |
CC=/usr/bin/clang |
./configure \
--prefix=$HOME/local \
--enable-multibyte \
--enable-nls \
--enable-perlinterp \
--enable-python3interp=dynamic \
--with-python3-config-dir=$(pyenv prefix)/lib/python3.9/config-3.9-darwin \
--enable-rubyinterp \
--enable-luainterp --with-lua-prefix=/opt/homebrew \
--enable-cscope \
--enable-fail-if-missing=yes \
--with-features=huge \
--without-x \
--disable-xim \
--disable-gui \
--disable-sysmouse \
--disable-netbeans \
--disable-xsmp \
CC=/usr/bin/clang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To build with the lua installed with the homebrew for Apple silicon:
--with-lua-prefix=/usr/local
->--with-lua-prefix=/opt/homebrew