Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit b33e800

Browse files
authored
Merge pull request #115 from eddyb/patch-1
Investigate debug-opt timeouts.
2 parents 341642f + 462d30d commit b33e800

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

master/master.cfg

+7-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ security_name = None
8181
# to prevent slaves from needing to be restarted while bors's queue is full
8282
build_wait_timeout = (60*60)*3
8383
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
8585
test_timeout = 20*60
8686
region = 'us-west-1'
8787

@@ -1061,7 +1061,7 @@ def just_tidy_buildfactory():
10611061
command=[MakeCommand(), "tidy"]))
10621062
return f
10631063

1064-
def make_and_check_buildfactory(check, android, windows, parallel):
1064+
def make_and_check_buildfactory(check, android, windows, parallel, make_args=[]):
10651065
checking_android = android == True and check != False
10661066
f = checkout_and_configure_buildfactory(checking_android)
10671067
# Temporary until we convince the build system
@@ -1087,6 +1087,7 @@ def make_and_check_buildfactory(check, android, windows, parallel):
10871087
command = [MakeCommand()]
10881088
else:
10891089
command = [MakeCommand(), "-j2"]
1090+
command += mk_args
10901091
f.addStep(Compile(env=CommandEnv(),
10911092
haltOnFailure=True,
10921093
flunkOnFailure=True,
@@ -1674,10 +1675,12 @@ for p in auto_platforms:
16741675
chk = True
16751676
rustbuild = None
16761677
orbit = None
1678+
make_args = []
16771679

16781680
if "-debug" in p:
16791681
debug = True
16801682
chk = False
1683+
make_args.append("RUSTFLAGS_STAGE2=-Ztime-passes")
16811684

16821685
if "-nopt-c" in p:
16831686
opt_compiler = False
@@ -1756,7 +1759,8 @@ for p in auto_platforms:
17561759
"orbit": orbit,
17571760
"rustbuild": rustbuild},
17581761
factory=make_and_check_buildfactory(chk, android,
1759-
"win" in p, True)))
1762+
"win" in p, True,
1763+
make_args)))
17601764

17611765
for p in snap_platforms:
17621766
c['builders'].append(BuilderConfig(

0 commit comments

Comments
 (0)