File tree 1 file changed +15
-0
lines changed
src/ci/docker/host-x86_64/x86_64-gnu
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,29 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
17
17
pkg-config \
18
18
xz-utils \
19
19
mingw-w64 \
20
+ # libgccjit dependencies
21
+ flex \
22
+ libmpfr-dev \
23
+ libgmp-dev \
24
+ libmpc3 \
25
+ libmpc-dev \
20
26
&& rm -rf /var/lib/apt/lists/*
21
27
22
28
COPY scripts/sccache.sh /scripts/
23
29
RUN sh /scripts/sccache.sh
24
30
31
+ # Fix rustc_codegen_gcc lto issues.
32
+ ENV GCC_EXEC_PREFIX="/usr/lib/gcc/"
33
+
25
34
ENV RUST_CONFIGURE_ARGS \
26
35
--build=x86_64-unknown-linux-gnu \
27
36
--enable-sanitizers \
28
37
--enable-profiler \
29
38
--enable-compiler-docs
39
+
40
+ COPY host-x86_64/dist-x86_64-linux/shared.sh /scripts/
41
+ COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
42
+
43
+ RUN /scripts/build-gccjit.sh /scripts
44
+
30
45
ENV SCRIPT python3 ../x.py --stage 2 test
You can’t perform that action at this time.
0 commit comments