Skip to content

Commit 16dedea

Browse files
committed
aix: install clang on ci machines
1 parent 8b6d1f8 commit 16dedea

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

ansible/roles/baselayout/tasks/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,15 @@
167167
- "{{ role_path }}/tasks/partials/ntp/{{ os|stripversion }}.yml"
168168
- "{{ role_path }}/tasks/partials/ntp/{{ os|match_key(ntp_service, raise_error=False) }}.yml"
169169
skip: true
170+
171+
172+
- name: install clang
173+
include_tasks: "{{ clang_include }}"
174+
loop_control:
175+
loop_var: clang_include
176+
with_first_found:
177+
- files:
178+
- "{{ role_path }}/tasks/partials/clang/{{ os }}-{{ arch }}.yml"
179+
- "{{ role_path }}/tasks/partials/clang/{{ os }}.yml"
180+
- "{{ role_path }}/tasks/partials/clang/{{ os|stripversion }}.yml"
181+
skip: true
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
#
3+
# Downloads and installs clang
4+
#
5+
6+
- name: "clang : extract tarball - aix"
7+
ansible.builtin.unarchive:
8+
src: https://github.com/IBM/llvm-project/releases/download/llvmorg-20.1.7/clang+llvm-20.1.7-powerpc64-ibm-aix-7.2.tar.xz
9+
dest: /opt
10+
remote_src: yes

0 commit comments

Comments
 (0)