about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-06-06 07:57:37 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-06-06 07:58:39 -0700
commit7d1f762c80e684acf7228fb1b37681ecc6c1110c (patch)
tree7ffd5e0974b8a196e851eebcdc6646326a2e9a9a
parent817d2feb13dd1faad47ec699cd473b8be2093ec9 (diff)
downloadrust-7d1f762c80e684acf7228fb1b37681ecc6c1110c.tar.gz
rust-7d1f762c80e684acf7228fb1b37681ecc6c1110c.zip
ci: Disable LLVM/debug assertions for asmjs builder
This shaves of 50 minutes of cycle time on Azure and will likely also
save a significant chunk of time on Travis. The assertions here aren't
really buying us much over other builders with assertions already
enabled, so let's disable them for this builder.

cc #61185
-rw-r--r--src/ci/docker/asmjs/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ci/docker/asmjs/Dockerfile b/src/ci/docker/asmjs/Dockerfile
index 9eaffbf83eb..01d6fce3418 100644
--- a/src/ci/docker/asmjs/Dockerfile
+++ b/src/ci/docker/asmjs/Dockerfile
@@ -37,3 +37,11 @@ ENV SCRIPT python2.7 ../x.py test --target $TARGETS \
   src/libstd \
   src/liballoc \
   src/libcore
+
+# Debug assertions in rustc are largely covered by other builders, and LLVM
+# assertions cause this builder to slow down by quite a large amount and don't
+# buy us a huge amount over other builders (not sure if we've ever seen an
+# asmjs-specific backend assertion trip), so disable assertions for these
+# tests.
+ENV NO_LLVM_ASSERTIONS=1
+ENV NO_DEBUG_ASSERTIONS=1