File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/ci/docker/host-x86_64/x86_64-gnu Expand file tree Collapse file tree 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 \
1717 pkg-config \
1818 xz-utils \
1919 mingw-w64 \
20+ # libgccjit dependencies
21+ flex \
22+ libmpfr-dev \
23+ libgmp-dev \
24+ libmpc3 \
25+ libmpc-dev \
2026 && rm -rf /var/lib/apt/lists/*
2127
2228COPY scripts/sccache.sh /scripts/
2329RUN sh /scripts/sccache.sh
2430
31+ # Fix rustc_codegen_gcc lto issues.
32+ ENV GCC_EXEC_PREFIX="/usr/lib/gcc/"
33+
2534ENV RUST_CONFIGURE_ARGS \
2635 --build=x86_64-unknown-linux-gnu \
2736 --enable-sanitizers \
2837 --enable-profiler \
2938 --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+
3045ENV SCRIPT python3 ../x.py --stage 2 test
You can’t perform that action at this time.
0 commit comments