File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
src/ci/docker/x86_64-gnu-debug Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:16.04
1+ FROM ubuntu:18.10
22
33RUN apt-get update && apt-get install -y --no-install-recommends \
44 g++ \
@@ -17,7 +17,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1717 cmake \
1818 sudo \
1919 gdb \
20- xz-utils
20+ xz-utils \
21+ lld \
22+ clang
2123
2224COPY scripts/sccache.sh /scripts/
2325RUN sh /scripts/sccache.sh
@@ -30,7 +32,11 @@ ENV RUST_CONFIGURE_ARGS \
3032 --enable-debug \
3133 --enable-lld \
3234 --enable-lldb \
33- --enable-optimize
35+ --enable-optimize \
36+ --set target.x86_64-unknown-linux-gnu.linker=clang \
37+ --set target.x86_64-unknown-linux-gnu.cc=clang \
38+ --set target.x86_64-unknown-linux-gnu.cxx=clang++
39+
3440ENV SCRIPT \
3541 python2.7 ../x.py build && \
3642 python2.7 ../x.py test src/test/run-make-fulldeps --test-args clang
You can’t perform that action at this time.
0 commit comments