File tree 4 files changed +68
-0
lines changed
4 files changed +68
-0
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,10 @@ jobs:
315
315
- name : x86_64-gnu-distcheck
316
316
os : ubuntu-20.04-8core-32gb
317
317
env : {}
318
+ - name : x86_64-gnu-llvm-18
319
+ env :
320
+ RUST_BACKTRACE : 1
321
+ os : ubuntu-20.04-8core-32gb
318
322
- name : x86_64-gnu-llvm-17
319
323
env :
320
324
RUST_BACKTRACE : 1
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ RUN sh /scripts/sccache.sh
42
42
ENV NO_DOWNLOAD_CI_LLVM 1
43
43
ENV EXTERNAL_LLVM 1
44
44
45
+ # This is not the latest LLVM version, so some components required by tests may
46
+ # be missing.
47
+ ENV IS_NOT_LATEST_LLVM 1
48
+
45
49
# Using llvm-link-shared due to libffi issues -- see #34486
46
50
ENV RUST_CONFIGURE_ARGS \
47
51
--build=x86_64-unknown-linux-gnu \
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:24.04
2
+
3
+ ARG DEBIAN_FRONTEND=noninteractive
4
+
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ g++ \
7
+ gcc-multilib \
8
+ make \
9
+ ninja-build \
10
+ file \
11
+ curl \
12
+ ca-certificates \
13
+ python3 \
14
+ git \
15
+ cmake \
16
+ sudo \
17
+ gdb \
18
+ llvm-18-tools \
19
+ llvm-18-dev \
20
+ libedit-dev \
21
+ libssl-dev \
22
+ pkg-config \
23
+ zlib1g-dev \
24
+ xz-utils \
25
+ nodejs \
26
+ mingw-w64 \
27
+ libgccjit-13-dev \
28
+ && rm -rf /var/lib/apt/lists/*
29
+
30
+ # Note: libgccjit needs to match the default gcc version for the linker to find it.
31
+
32
+ # Install powershell (universal package) so we can test x.ps1 on Linux
33
+ # FIXME: need a "universal" version that supports libicu74, but for now it still works to ignore that dep.
34
+ RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/powershell_7.3.1-1.deb_amd64.deb" > powershell.deb && \
35
+ dpkg --ignore-depends=libicu72 -i powershell.deb && \
36
+ rm -f powershell.deb
37
+
38
+ COPY scripts/sccache.sh /scripts/
39
+ RUN sh /scripts/sccache.sh
40
+
41
+ # We are disabling CI LLVM since this builder is intentionally using a host
42
+ # LLVM, rather than the typical src/llvm-project LLVM.
43
+ ENV NO_DOWNLOAD_CI_LLVM 1
44
+ ENV EXTERNAL_LLVM 1
45
+
46
+ # Using llvm-link-shared due to libffi issues -- see #34486
47
+ ENV RUST_CONFIGURE_ARGS \
48
+ --build=x86_64-unknown-linux-gnu \
49
+ --llvm-root=/usr/lib/llvm-18 \
50
+ --enable-llvm-link-shared \
51
+ --set rust.thin-lto-import-instr-limit=10
52
+
53
+ COPY host-x86_64/x86_64-gnu-llvm-16/script.sh /tmp/
54
+
55
+ ENV SCRIPT /tmp/script.sh
Original file line number Diff line number Diff line change @@ -510,6 +510,11 @@ jobs:
510
510
- name : x86_64-gnu-distcheck
511
511
<< : *job-linux-8c
512
512
513
+ - name : x86_64-gnu-llvm-18
514
+ env :
515
+ RUST_BACKTRACE : 1
516
+ << : *job-linux-8c
517
+
513
518
- name : x86_64-gnu-llvm-17
514
519
env :
515
520
RUST_BACKTRACE : 1
You can’t perform that action at this time.
0 commit comments