Skip to content

Commit

Permalink
refactor(cpp): temporarily do not install libomp and lldb on Ubuntu 2…
Browse files Browse the repository at this point in the history
…4.04
  • Loading branch information
rudenkornk committed May 12, 2024
1 parent 2981a69 commit 9697689
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions roles/cpp/tasks/llvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,19 @@
- libclang-common-{{ cpp_llvm_version }}-dev
- libclang-cpp{{ cpp_llvm_version }}-dev
- libclang-{{ cpp_llvm_version }}-dev
- libomp-{{ cpp_llvm_version }}-dev
- libunwind-{{ cpp_llvm_version }}-dev
- lld-{{ cpp_llvm_version }}
- lldb-{{ cpp_llvm_version }}
- llvm-{{ cpp_llvm_version }}-dev
- llvm-{{ cpp_llvm_version }}-tools

- name: llvm | Temporarily install lldb and libomp on Ubuntu < 24.04 only
become: true
ansible.builtin.apt:
name:
- libomp-{{ cpp_llvm_version }}-dev
- lldb-{{ cpp_llvm_version }}
when: ansible_distribution_version is version('24.04', '<')

- name: llvm | Update LLVM alternatives
become: true
community.general.alternatives:
Expand Down

0 comments on commit 9697689

Please sign in to comment.