diff --git a/ansible/pontos.yml b/ansible/pontos.yml index 4e62f723236fe9c25456d358596e0fcf810e1700..7fc12c6cabc2fb56e58c60deb5e4d306edbb9534 100644 --- a/ansible/pontos.yml +++ b/ansible/pontos.yml @@ -5,6 +5,7 @@ llvm10_state: absent llvm11_state: present llvm12_state: present + llvm14_state: present llvm16_state: present llvm17_state: absent gh_cli_state: present @@ -53,7 +54,7 @@ - import_role: name: surveyor - when: inventory_hostname == "pontos08.fi.muni.cz" or inventory_hostname == "pontos05.fi.muni.cz" + when: inventory_hostname == "pontos08.fi.muni.cz" or inventory_hostname == "pontos05.fi.muni.cz" or inventory_hostname == "pontos04.fi.muni.cz" - name: "cgroups v1" lineinfile: diff --git a/ansible/roles/llvm_deb/tasks/main.yml b/ansible/roles/llvm_deb/tasks/main.yml index c0cad9012d3b8260b0ee1e8e79484f86073973ee..75ccdcc1f16faede6f6a05701493c4a91fe5b6ef 100644 --- a/ansible/roles/llvm_deb/tasks/main.yml +++ b/ansible/roles/llvm_deb/tasks/main.yml @@ -97,6 +97,38 @@ # # note: libunwind is not installed as it can conflict with system one # state: "{{ llvm13_state }}" +- name: "LLVM 14 repository" + apt_repository: + repo: deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-14 main + filename: llvm14 + state: present + +- name: "LLVM 14 (& tools) {{ llvm14_state }}" + apt: + pkg: + - libllvm14 + - llvm-14 + - llvm-14-dev + - llvm-14-doc + - llvm-14-examples + - llvm-14-runtime + - clang-14 + - clang-tools-14 + - clang-14-doc + - libclang-common-14-dev + - libclang-14-dev + - libclang1-14 + - clang-format-14 + - clangd-14 + - libfuzzer-14-dev + - lldb-14 + - lld-14 + - libc++-14-dev + - libc++abi-14-dev + - libclc-14-dev + # note: libunwind is not installed as it can conflict with system one + state: "{{ llvm14_state }}" + - name: "LLVM 16 repository" apt_repository: repo: deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-16 main @@ -105,7 +137,6 @@ - name: "LLVM 16 (& tools) {{ llvm16_state }}" apt: - default_release: llvm-toolchain-bullseye-16 pkg: - libllvm16 - llvm-16 @@ -142,7 +173,6 @@ - name: "LLVM 17 (& tools) {{ llvm17_state }}" apt: - default_release: llvm-toolchain-bullseye-17 pkg: - libllvm17 - llvm-17