@@ -81,7 +81,7 @@ security_name = None
81
81
# to prevent slaves from needing to be restarted while bors's queue is full
82
82
build_wait_timeout = (60 * 60 )* 3
83
83
dist_wait_timeout = 10 * 60 # dist bots don't need to stay online
84
- compile_timeout = 30 * 60 # rustc can take a while to compile
84
+ compile_timeout = 60 * 60 # rustc can take a while to compile
85
85
test_timeout = 20 * 60
86
86
region = 'us-west-1'
87
87
@@ -1061,7 +1061,7 @@ def just_tidy_buildfactory():
1061
1061
command = [MakeCommand (), "tidy" ]))
1062
1062
return f
1063
1063
1064
- def make_and_check_buildfactory (check , android , windows , parallel ):
1064
+ def make_and_check_buildfactory (check , android , windows , parallel , make_args = [] ):
1065
1065
checking_android = android == True and check != False
1066
1066
f = checkout_and_configure_buildfactory (checking_android )
1067
1067
# Temporary until we convince the build system
@@ -1087,6 +1087,7 @@ def make_and_check_buildfactory(check, android, windows, parallel):
1087
1087
command = [MakeCommand ()]
1088
1088
else :
1089
1089
command = [MakeCommand (), "-j2" ]
1090
+ command += mk_args
1090
1091
f .addStep (Compile (env = CommandEnv (),
1091
1092
haltOnFailure = True ,
1092
1093
flunkOnFailure = True ,
@@ -1674,10 +1675,12 @@ for p in auto_platforms:
1674
1675
chk = True
1675
1676
rustbuild = None
1676
1677
orbit = None
1678
+ make_args = []
1677
1679
1678
1680
if "-debug" in p :
1679
1681
debug = True
1680
1682
chk = False
1683
+ make_args .append ("RUSTFLAGS_STAGE2=-Ztime-passes" )
1681
1684
1682
1685
if "-nopt-c" in p :
1683
1686
opt_compiler = False
@@ -1756,7 +1759,8 @@ for p in auto_platforms:
1756
1759
"orbit" : orbit ,
1757
1760
"rustbuild" : rustbuild },
1758
1761
factory = make_and_check_buildfactory (chk , android ,
1759
- "win" in p , True )))
1762
+ "win" in p , True ,
1763
+ make_args )))
1760
1764
1761
1765
for p in snap_platforms :
1762
1766
c ['builders' ].append (BuilderConfig (
0 commit comments