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 {
3127
3127
let plain_src_dir = root_dir. join ( "distcheck-plain-src" ) ;
3128
3128
builder. clear_dir ( & plain_src_dir) ;
3129
3129
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
+
3130
3134
command ( "tar" )
3131
3135
. arg ( "-xf" )
3132
3136
. arg ( plain_src_tarball. tarball ( ) )
@@ -3136,7 +3140,7 @@ impl Step for Distcheck {
3136
3140
command ( "./configure" )
3137
3141
. arg ( "--set" )
3138
3142
. arg ( "rust.omit-git-hash=false" )
3139
- . args ( & builder . config . configure_args )
3143
+ . args ( & configure_args)
3140
3144
. arg ( "--enable-vendor" )
3141
3145
. current_dir ( & plain_src_dir)
3142
3146
. 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 \
33
33
COPY scripts/sccache.sh /scripts/
34
34
RUN sh /scripts/sccache.sh
35
35
36
+ # Make distcheck builds faster
37
+ ENV DISTCHECK_CONFIGURE_ARGS "--enable-sccache"
38
+
36
39
ENV SCRIPT python3 ../x.py test distcheck
You can’t perform that action at this time.
0 commit comments