-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_vim_laptop.sh
executable file
·47 lines (45 loc) · 1.43 KB
/
build_vim_laptop.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd vim-src
#sudo apt-get install build-essential cmake python-dev libperl-dev libncurses-dev -y
# Ubuntu 22:
sudo apt-get install build-essential cmake python2-dev python2 python-dev-is-python3 libperl-dev libncurses-dev -y
./configure \
--enable-multibyte \
--enable-perlinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu \
--enable-cscope \
--enable-gui=auto \
--with-features=huge \
--with-x \
--enable-fontset \
--enable-largefile \
--with-compiledby="Anthony" \
--enable-fail-if-missing
make -j24
sudo make install
exit 0
sudo apt-get install build-essential cmake python-dev
./configure \
--enable-multibyte \
--enable-perlinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu \
--enable-luainterp \
--with-luajit \
--enable-cscope \
--enable-gui=auto \
--with-features=huge \
--with-x \
--enable-fontset \
--enable-largefile \
--with-compiledby="Anthony" \
--enable-fail-if-missing
make VIMRUNTIMEDIR=/usr/local/share/vim/vim81 -j24
sudo make install