Skip to content

Commit ee5abf3

Browse files
authored
[gha] build lldb with lzma enabled (#184)
## Purpose Add lzma support to the version of lldb built to run lldb tests against ds2. This addition eliminates the following warnings that previously appeared when running the tests on Android: ``` warning: (x86_64) /home/runner/.lldb/module_cache/remote-android/.cache/27659E9D-B4F4-B4D2-71C0-6A6D79C81CBA/libm.so No LZMA support found for reading .gnu_debugdata section warning: (x86_64) /home/runner/.lldb/module_cache/remote-android/.cache/32A6676D-6870-2632-466C-E517D9C8E3DF/libdl.so No LZMA support found for reading .gnu_debugdata section warning: (x86_64) /home/runner/.lldb/module_cache/remote-android/.cache/896BBDB3-DFDF-EF7E-4E56-BCF87BE1517D/libnetd_client.so No LZMA support found for reading .gnu_debugdata section warning: (x86_64) /home/runner/.lldb/module_cache/remote-android/.cache/1C26B06E-264B-4636-380B-BD604DD436FD/libc++.so No LZMA support found for reading .gnu_debugdata section ``` ## Overview * Install `liblzma-dev` and `lzma-dev` packages on Ubuntu systems * Configure the lldb build with `-D LLDB_ENABLE_LZMA=On` to include LZMA support. ## Validation Successful CI run: https://github.com/andrurogerz/ds2/actions/runs/13291337750
1 parent 4aef6d1 commit ee5abf3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,10 @@ jobs:
313313
runner: [ubuntu-latest, ubuntu-24.04-arm]
314314

315315
steps:
316+
- name: Install LZMA libraries
317+
run:
318+
sudo apt install lzma-dev liblzma-dev
319+
316320
- if: ${{ !contains(matrix.runner, 'arm') }}
317321
uses: seanmiddleditch/gha-setup-ninja@v5
318322

@@ -349,6 +353,7 @@ jobs:
349353
-D LLVM_ENABLE_PROJECTS='clang;lldb' \
350354
-D LLVM_TARGETS_TO_BUILD="host" \
351355
-D LLDB_ENABLE_PYTHON=On \
356+
-D LLDB_ENABLE_LZMA=On \
352357
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
353358
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
354359
-D CMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)