File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
bootstrap/src/core/build_steps
ci/docker/host-x86_64/x86_64-gnu-distcheck Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3127,6 +3127,10 @@ impl Step for Distcheck {
31273127 let plain_src_dir = root_dir. join ( "distcheck-plain-src" ) ;
31283128 builder. clear_dir ( & plain_src_dir) ;
31293129
3130+ let configure_args: Vec < String > = std:: env:: var ( "DISTCHECK_CONFIGURE_ARGS" )
3131+ . map ( |args| args. split ( " " ) . map ( |s| s. to_string ( ) ) . collect :: < Vec < String > > ( ) )
3132+ . unwrap_or ( vec ! [ ] ) ;
3133+
31303134 command ( "tar" )
31313135 . arg ( "-xf" )
31323136 . arg ( plain_src_tarball. tarball ( ) )
@@ -3136,7 +3140,7 @@ impl Step for Distcheck {
31363140 command ( "./configure" )
31373141 . arg ( "--set" )
31383142 . arg ( "rust.omit-git-hash=false" )
3139- . args ( & builder . config . configure_args )
3143+ . args ( & configure_args)
31403144 . arg ( "--enable-vendor" )
31413145 . current_dir ( & plain_src_dir)
31423146 . run ( builder) ;
Original file line number Diff line number Diff line change @@ -33,4 +33,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3333COPY scripts/sccache.sh /scripts/
3434RUN sh /scripts/sccache.sh
3535
36+ # Make distcheck builds faster
37+ ENV DISTCHECK_CONFIGURE_ARGS "--enable-sccache"
38+
3639ENV SCRIPT python3 ../x.py test distcheck
You can’t perform that action at this time.
0 commit comments