File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
src/ci/docker/host-x86_64 Expand file tree Collapse file tree 2 files changed +20
-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 \
16
16
cmake \
17
17
sudo \
18
18
gdb \
19
+ lldb-19 \
19
20
llvm-19-tools \
20
21
llvm-19-dev \
21
22
libedit-dev \
@@ -33,6 +34,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
33
34
libmpc-dev \
34
35
&& rm -rf /var/lib/apt/lists/*
35
36
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
+ # This provides hint for LLDB to find the debug server binary.
43
+ ENV LLDB_DEBUGSERVER_PATH=/usr/bin/lldb-server-19
44
+
36
45
# Install powershell (universal package) so we can test x.ps1 on Linux
37
46
# FIXME: need a "universal" version that supports libicu74, but for now it still works to ignore that dep.
38
47
RUN 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 \
52
61
--build=x86_64-unknown-linux-gnu \
53
62
--llvm-root=/usr/lib/llvm-19 \
54
63
--enable-llvm-link-shared \
64
+ --set build.lldb=lldb-19 \
55
65
--set rust.randomize-layout=true \
56
66
--set rust.thin-lto-import-instr-limit=10
57
67
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 \
16
16
cmake \
17
17
sudo \
18
18
gdb \
19
+ lldb-20 \
19
20
llvm-20-tools \
20
21
llvm-20-dev \
21
22
libedit-dev \
@@ -33,6 +34,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
33
34
libmpc-dev \
34
35
&& rm -rf /var/lib/apt/lists/*
35
36
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 hint for LLDB to find the debug server binary.
43
+ ENV LLDB_DEBUGSERVER_PATH=/usr/bin/lldb-server-20
44
+
36
45
# Install powershell (universal package) so we can test x.ps1 on Linux
37
46
# FIXME: need a "universal" version that supports libicu74, but for now it still works to ignore that dep.
38
47
RUN 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 \
52
61
--build=x86_64-unknown-linux-gnu \
53
62
--llvm-root=/usr/lib/llvm-20 \
54
63
--enable-llvm-link-shared \
64
+ --set build.lldb=lldb-20 \
55
65
--set rust.randomize-layout=true \
56
66
--set rust.thin-lto-import-instr-limit=10
57
67
You can’t perform that action at this time.
0 commit comments