Skip to content

Commit 8fef80a

Browse files
authored
ansible: update gn on V8 build machines (#4066)
Roll forward the version of `gn` used to build V8. Clean git checkout before building. Refs: nodejs/node#57753 (comment)
1 parent ab90cb5 commit 8fef80a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

ansible/roles/gn/tasks/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
ansible.builtin.set_fact:
3131
rebuild_gn: "{{ not gn_installed_version.stdout|default('') is search(gn_git.after[:7]) }}"
3232

33+
- name: clean git checkout
34+
ansible.builtin.shell: git clean -fdX
35+
args:
36+
chdir: "{{ gn_git_dir }}"
37+
become: "{{ gn_user|default(omit)|bool }}"
38+
become_user: "{{ gn_user|default(omit) }}"
39+
when: rebuild_gn
40+
3341
# Requires a C++17 compiler.
3442
- name: build gn
3543
ansible.builtin.shell: |

ansible/roles/gn/vars/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ compiler: {
55
}
66

77
gn_select_compiler: "{{ compiler[os]|default(compiler[os|stripversion])|default('true') }}"
8-
gn_version: 88e8054
8+
gn_version: c0a46c5e8c316010baf1a0eb2d2ee5a86f73e4c2
99

1010
packages: {
1111
'rhel8': 'ninja-build,gcc-toolset-12'
12-
}
12+
}

0 commit comments

Comments
 (0)