Commit f05cdcf8 authored by Robert Konicar's avatar Robert Konicar
Browse files

ansible: Fix llvm release sources.

parent e40ba02c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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:
+32 −2
Original line number Diff line number Diff line
@@ -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