File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
ansible/roles/dev-desktop/tasks Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 66#
77# This fix can be removed once we move to llvm 16
88
9+ - name : Check for llvm 14 install
10+ ansible.builtin.stat :
11+ path : /usr/lib/llvm-14
12+ register : llvm14_install
13+
914- name : Find all lldb Python files
1015 ansible.builtin.find :
1116 paths : /usr/lib/llvm-14/lib/python3.12/dist-packages/lldb
1217 file_type : file
1318 register : lldb_python_files
19+ when : llvm14_install.stat.exists
1420
1521- name : Find all lldb Python modules
1622 ansible.builtin.find :
1723 paths : /usr/lib/llvm-14/lib/python3.12/dist-packages/lldb
1824 file_type : directory
1925 register : lldb_python_directories
26+ when : llvm14_install.stat.exists
2027
2128- name : Fix llvm/llvm-project#55575
2229 ansible.builtin.file :
2330 src : " {{ item.path }}"
2431 dest : " /usr/lib/python3/dist-packages/lldb/{{ item.path | basename }}"
2532 state : link
2633 with_items : " {{ lldb_python_files.files + lldb_python_directories.files }}"
34+ when : llvm14_install.stat.exists
2735
2836- name : Fix lldb-server-14.0.0
2937 ansible.builtin.file :
3038 src : /usr/lib/llvm-14/bin/lldb-server
3139 dest : /usr/bin/lldb-server-14.0.6
3240 state : link
41+ when : llvm14_install.stat.exists
You can’t perform that action at this time.
0 commit comments