Skip to content

Commit 821d293

Browse files
committedSep 16, 2019
azure: Disable more LLVM/debug assertions in
This commit disables LLVM/debug assertions in our 5 slowest builders: * i686-gnu * i686-gnu-nopt * i686-msvc-1 * i686-msvc-2 * x86_64-msvc-cargo This is reducing the amount of test coverage for LLVM/debug assertions, but we're just unfortunately running out of time on CI too many times. Some test builds have shown that i686-gnu drops nearly an hour of CI time by disabling these two assertions. Perhaps when we eventually get 4-core machines we can reenable these, but for now turn them off and hook them up to the tracking issue at #59637 which will ideally be repurposes to tracking all of these.
1 parent 16c4011 commit 821d293

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
 

‎src/ci/azure-pipelines/auto.yml

+9
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,16 @@ jobs:
236236
MSYS_BITS: 32
237237
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
238238
SCRIPT: make ci-subset-1
239+
# FIXME(#59637)
240+
NO_DEBUG_ASSERTIONS: 1
241+
NO_LLVM_ASSERTIONS: 1
239242
i686-msvc-2:
240243
MSYS_BITS: 32
241244
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
242245
SCRIPT: make ci-subset-2
246+
# FIXME(#59637)
247+
NO_DEBUG_ASSERTIONS: 1
248+
NO_LLVM_ASSERTIONS: 1
243249
# MSVC aux tests
244250
x86_64-msvc-aux:
245251
MSYS_BITS: 64
@@ -250,6 +256,9 @@ jobs:
250256
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
251257
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
252258
VCVARS_BAT: vcvars64.bat
259+
# FIXME(#59637)
260+
NO_DEBUG_ASSERTIONS: 1
261+
NO_LLVM_ASSERTIONS: 1
253262
# MSVC tools tests
254263
x86_64-msvc-tools:
255264
MSYS_BITS: 64

‎src/ci/docker/i686-gnu-nopt/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ RUN sh /scripts/sccache.sh
1919

2020
ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests
2121
ENV SCRIPT python2.7 ../x.py test
22+
23+
# FIXME(#59637) takes too long on CI right now
24+
ENV NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1

‎src/ci/docker/i686-gnu/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ ENV SCRIPT python2.7 ../x.py test \
2525
--exclude src/test/rustdoc-js \
2626
--exclude src/tools/error_index_generator \
2727
--exclude src/tools/linkchecker
28+
29+
# FIXME(#59637) takes too long on CI right now
30+
ENV NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1

0 commit comments

Comments
 (0)