Skip to content
Snippets Groups Projects
Commit 995698e7 authored by Robert Konicar's avatar Robert Konicar
Browse files

ansible: Add llvm16 and prepare for llvm17.

parent ef16013c
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@
llvm10_state: absent
llvm11_state: present
llvm12_state: present
llvm16_state: present
llvm17_state: absent
gh_cli_state: present
postgres_client: true
nftables:
......
......@@ -3,3 +3,5 @@ llvm10_state: absent
llvm11_state: present
llvm12_state: present
llvm13_state: present
llvm16_state: present
llvm17_state: absent
......@@ -96,3 +96,76 @@
# - libclc-13-dev
# # note: libunwind is not installed as it can conflict with system one
# state: "{{ llvm13_state }}"
- name: "LLVM 16 repository"
apt_repository:
repo: deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-16 main
filename: llvm16
state: present
- name: "LLVM 16 (& tools) {{ llvm16_state }}"
apt:
default_release: llvm-toolchain-bullseye-16
pkg:
- libllvm16
- llvm-16
- llvm-16-dev
- llvm-16-doc
- llvm-16-examples
- llvm-16-runtime
- clang-16
- clang-tools-16
- clang-16-doc
- libclang-common-16-dev
- libclang-16-dev
- libclang1-16
- clang-format-16
- clangd-16
- clang-tidy-16
- libfuzzer-16-dev
- lldb-16
- lld-16
- libc++-16-dev
- libc++abi-16-dev
- libclc-16-dev
- mlir-16-tools
- libmlir-16-dev
# note: libunwind is not installed as it can conflict with system one
state: "{{ llvm16_state }}"
- name: "LLVM 17 repository"
apt_repository:
repo: deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-17 main
filename: llvm17
state: present
- name: "LLVM 17 (& tools) {{ llvm17_state }}"
apt:
default_release: llvm-toolchain-bullseye-17
pkg:
- libllvm17
- llvm-17
- llvm-17-dev
- llvm-17-doc
- llvm-17-examples
- llvm-17-runtime
- clang-17
- clang-tools-17
- clang-17-doc
- libclang-common-17-dev
- libclang-17-dev
- libclang1-17
- clang-format-17
- clangd-17
- clang-tidy-17
- libfuzzer-17-dev
- lldb-17
- lld-17
- libc++-17-dev
- libc++abi-17-dev
- libclc-17-dev
- mlir-17-tools
- libmlir-17-dev
# note: libunwind is not installed as it can conflict with system one
state: "{{ llvm17_state }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment