File tree 1 file changed +9
-3
lines changed
src/ci/docker/x86_64-gnu-debug
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
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
g++ \
@@ -17,7 +17,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
17
17
cmake \
18
18
sudo \
19
19
gdb \
20
- xz-utils
20
+ xz-utils \
21
+ lld \
22
+ clang
21
23
22
24
COPY scripts/sccache.sh /scripts/
23
25
RUN sh /scripts/sccache.sh
@@ -30,7 +32,11 @@ ENV RUST_CONFIGURE_ARGS \
30
32
--enable-debug \
31
33
--enable-lld \
32
34
--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
+
34
40
ENV SCRIPT \
35
41
python2.7 ../x.py build && \
36
42
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