configure neovim properly for building
This commit is contained in:
@@ -3,15 +3,17 @@
|
||||
- name: Clone neovim git repository
|
||||
ansible.builtin.git:
|
||||
depth: 1
|
||||
dest: "{{ d_tempdir.path }}/neovim"
|
||||
dest: "{{ neovim.git_path }}"
|
||||
repo: "{{ neovim.git_repo }}"
|
||||
version: "{{ neovim.vers }}"
|
||||
recursive: true
|
||||
|
||||
- name: Build and install neovim
|
||||
become: "{{ ext_become }}"
|
||||
ansible.builtin.make:
|
||||
chdir: "{{ d_tempdir.path }}/neovim"
|
||||
community.general.make:
|
||||
chdir: "{{ neovim.git_path }}"
|
||||
params:
|
||||
CMAKE_BUILD_TYPE: "{{ neovim.build_type }}"
|
||||
CMAKE_INSTALL_PREFIX: "{{ path.prefix }}"
|
||||
CMAKE_EXTRA_FLAGS: "-DCMAKE_INSTALL_PREFIX={{ path.prefix }}"
|
||||
target: install
|
||||
jobs: "{{ ansible_processor_nproc | int }}"
|
||||
|
||||
Reference in New Issue
Block a user