File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
src/ci/docker/host-x86_64 Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1616 cmake \
1717 sudo \
1818 gdb \
19+ lldb-19 \
1920 llvm-19-tools \
2021 llvm-19-dev \
2122 libedit-dev \
@@ -33,6 +34,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3334 libmpc-dev \
3435 && rm -rf /var/lib/apt/lists/*
3536
37+ # The official LLDB symbolic links seems to be broken, this is a workaround to fix them.
38+ RUN ln -sf ../../../liblldb.so.1 /usr/lib/llvm-19/lib/python3.12/site-packages/lldb/_lldb.cpython-312-x86_64-linux-gnu.so && \
39+ ln -sf ../../../../../x86_64-linux-gnu/libLLVM-19.so /usr/lib/llvm-19/lib/python3/dist-packages/lldb/libLLVM-19.*.so.1 && \
40+ ln -sf ../../../../../x86_64-linux-gnu/libLLVM-19.so /usr/lib/llvm-19/lib/python3/dist-packages/lldb/libLLVM-19.so.1
41+
42+ ENV LLDB_DEBUGSERVER_PATH=lldb-server-19
43+
3644# Install powershell (universal package) so we can test x.ps1 on Linux
3745# FIXME: need a "universal" version that supports libicu74, but for now it still works to ignore that dep.
3846RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/powershell_7.3.1-1.deb_amd64.deb" > powershell.deb && \
@@ -52,6 +60,7 @@ ENV RUST_CONFIGURE_ARGS \
5260 --build=x86_64-unknown-linux-gnu \
5361 --llvm-root=/usr/lib/llvm-19 \
5462 --enable-llvm-link-shared \
63+ --set build.lldb=lldb-19 \
5564 --set rust.randomize-layout=true \
5665 --set rust.thin-lto-import-instr-limit=10
5766
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1616 cmake \
1717 sudo \
1818 gdb \
19+ lldb-20 \
1920 llvm-20-tools \
2021 llvm-20-dev \
2122 libedit-dev \
@@ -33,6 +34,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3334 libmpc-dev \
3435 && rm -rf /var/lib/apt/lists/*
3536
37+ # The official LLDB symbolic links seems to be broken, this is a workaround to fix them.
38+ RUN ln -sf ../../../liblldb.so.1 /usr/lib/llvm-20/lib/python3.13/site-packages/lldb/_lldb.cpython-313-x86_64-linux-gnu.so && \
39+ ln -sf ../../../../../x86_64-linux-gnu/libLLVM-20.so /usr/lib/llvm-20/lib/python3/dist-packages/lldb/libLLVM-20.*.so.1 && \
40+ ln -sf ../../../../../x86_64-linux-gnu/libLLVM-20.so /usr/lib/llvm-20/lib/python3/dist-packages/lldb/libLLVM-20.so.1
41+
42+ # This provides hints for LLDB to find the debug server binary.
43+ ENV LLDB_DEBUGSERVER_PATH=lldb-server-20
44+
3645# Install powershell (universal package) so we can test x.ps1 on Linux
3746# FIXME: need a "universal" version that supports libicu74, but for now it still works to ignore that dep.
3847RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/powershell_7.3.1-1.deb_amd64.deb" > powershell.deb && \
@@ -52,6 +61,7 @@ ENV RUST_CONFIGURE_ARGS \
5261 --build=x86_64-unknown-linux-gnu \
5362 --llvm-root=/usr/lib/llvm-20 \
5463 --enable-llvm-link-shared \
64+ --set build.lldb=lldb-20 \
5565 --set rust.randomize-layout=true \
5666 --set rust.thin-lto-import-instr-limit=10
5767
You can’t perform that action at this time.
0 commit comments