about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2018-08-10 12:29:28 +0200
committerMichael Woerister <michaelwoerister@posteo>2018-08-20 11:37:32 +0200
commit73364c8befd11d08c04511f4b0639e3bd9a1ab30 (patch)
tree1cd836fdd9a3cc47f63fa33b0921981db822dd14 /src/ci/docker
parent9574bf5a3ebe3ebd0059a06067a2d13d0a9da043 (diff)
downloadrust-73364c8befd11d08c04511f4b0639e3bd9a1ab30.tar.gz
rust-73364c8befd11d08c04511f4b0639e3bd9a1ab30.zip
Compile LLVM with ThinLTO for x86_64 Linux dist builds.
Diffstat (limited to 'src/ci/docker')
-rw-r--r--src/ci/docker/dist-x86_64-linux/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ci/docker/dist-x86_64-linux/Dockerfile b/src/ci/docker/dist-x86_64-linux/Dockerfile
index 5726fab7524..01f6db03e8e 100644
--- a/src/ci/docker/dist-x86_64-linux/Dockerfile
+++ b/src/ci/docker/dist-x86_64-linux/Dockerfile
@@ -93,7 +93,10 @@ ENV RUST_CONFIGURE_ARGS \
       --enable-sanitizers \
       --enable-profiler \
       --enable-compiler-docs \
-      --set target.x86_64-unknown-linux-gnu.linker=clang
+      --set target.x86_64-unknown-linux-gnu.linker=clang \
+      --set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
+      --set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
+      --set llvm.thin-lto=true
 ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
 ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang