forked from nodejs/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrhel8-s390x.yml
More file actions
31 lines (26 loc) · 890 Bytes
/
Copy pathrhel8-s390x.yml
File metadata and controls
31 lines (26 loc) · 890 Bytes
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
---
#
# Install packages for V8 builds.
#
# Older V8 builds still require Python 2.
# rhel_llvm_version and rhel_rust_version from ansible/roles/baselayout/vars/main.yml
- name: install packages required to build V8
ansible.builtin.dnf:
name: ['GConf2-devel', 'bindgen-cli', 'llvm-toolset-{{rhel_llvm_version}}', 'python2', 'python2-pip', 'rustfmt-{{rhel_rust_version}}']
state: present
notify: package updated
- name: update python package alternatives
community.general.alternatives:
link: /usr/bin/python
name: python
path: /usr/bin/python2
- name: install dependencies for V8 build tools (Python 2)
ansible.builtin.pip:
executable: pip2
name: httplib2
state: present
- name: install dependencies for V8 build tools (Python 3)
ansible.builtin.pip:
executable: pip-3
name: ['filecheck', 'httplib2==0.22.0', 'six']
state: present