@@ -138,12 +138,15 @@ auto_platforms_prod = [
138
138
"bitrig-64-opt" ,
139
139
"linux-musl-64-opt" ,
140
140
"freebsd10_32-1" ,
141
- "freebsd10_64-1"
141
+ "freebsd10_64-1" ,
142
+ "dragonflybsd-64-opt" ,
143
+ "openbsd-64-opt"
142
144
]
143
145
144
146
try_platforms_prod = ["linux" , "win-gnu-32" , "win-gnu-64" , "mac" ]
145
147
snap_platforms_prod = ["linux" , "win-gnu-32" , "win-gnu-64" , "mac" , "bitrig-64" ,
146
- "freebsd10_32-1" , "freebsd10_64-1" ]
148
+ "freebsd10_32-1" , "freebsd10_64-1" , "dragonflybsd-64-opt" ,
149
+ "openbsd-64-opt" ]
147
150
dist_platforms_prod = ["linux" , "win-gnu-32" , "win-gnu-64" , "win-msvc-32" , "win-msvc-64" , "mac" ]
148
151
cargo_platforms_prod = ["linux-32" , "linux-64" , "mac-32" , "mac-64" , "win-gnu-32" ,
149
152
"win-gnu-64" , "win-msvc-32" , "win-msvc-64" , "bitrig-64" ]
@@ -167,12 +170,15 @@ auto_platforms_dev = [
167
170
"bitrig-64-opt" ,
168
171
"linux-musl-64-opt" ,
169
172
"freebsd10_32-1" ,
170
- "freebsd10_64-1"
173
+ "freebsd10_64-1" ,
174
+ "dragonflybsd-64-opt" ,
175
+ "openbsd-64-opt"
171
176
]
172
177
173
178
try_platforms_dev = ["linux" , "win-gnu-32" , "win-gnu-64" ]
174
179
snap_platforms_dev = ["linux" , "win-gnu-32" , "win-gnu-64" , "bitrig-64" ,
175
- "freebsd10_32-1" , "freebsd10_64-1" ]
180
+ "freebsd10_32-1" , "freebsd10_64-1" , "dragonflybsd-64-opt" ,
181
+ "openbsd-64-opt" ]
176
182
dist_platforms_dev = ["linux" , "win-gnu-32" , "win-gnu-64" , "win-msvc-32" , "win-msvc-64" ]
177
183
cargo_platforms_dev = ["linux-32" , "linux-64" , "win-gnu-32" , "win-gnu-64" ,
178
184
"bitrig-64" , "win-msvc-32" , "win-msvc-64" ]
@@ -197,7 +203,9 @@ nogate_builders = [
197
203
"auto-bitrig-64-opt" ,
198
204
"auto-linux-musl-64-opt" ,
199
205
"auto-freebsd10_32-1" ,
200
- "auto-freebsd10_64-1"
206
+ "auto-freebsd10_64-1" ,
207
+ "auto-dragonflybsd-64-opt" ,
208
+ "auto-openbsd-64-opt"
201
209
]
202
210
dist_nogate_platforms = [
203
211
"win-msvc-32" ,
@@ -230,6 +238,10 @@ def all_platform_hosts(platform):
230
238
return ["x86_64-pc-windows-msvc" ]
231
239
elif "bitrig-64" in platform :
232
240
return ["x86_64-unknown-bitrig" ]
241
+ elif "dragonflybsd-64" in platform :
242
+ return ["x86_64-unknown-dragonfly" ]
243
+ elif "openbsd-64" in platform :
244
+ return ["x86_64-unknown-openbsd" ]
233
245
else :
234
246
return None
235
247
@@ -277,6 +289,12 @@ def auto_platform_triple(p):
277
289
if "bitrig-64" in p :
278
290
return "x86_64-unknown-bitrig"
279
291
292
+ if "dragonfly-64" in p :
293
+ return "x86_64-unknown-dragonfly"
294
+
295
+ if "openbsd-64" in p :
296
+ return "x86_64-unknown-openbsd"
297
+
280
298
def auto_platform_build (p ):
281
299
return auto_platform_triple (p )
282
300
@@ -317,7 +335,7 @@ for line in open("slave-list.txt"):
317
335
keypair_name = keypair_name ,
318
336
#security_name=security_name,
319
337
security_name = "rust-non-vpc-slave" ,
320
- build_wait_timeout = build_wait_timeout ,
338
+ build_wait_timeout = build_wait_timeout ,
321
339
# notify_on_missing=['[email protected] '],
322
340
max_builds = int (ext ['max_builds' ]),
323
341
tags = { 'Name' : env + "-slave-" + name })
@@ -331,7 +349,7 @@ for line in open("slave-list.txt"):
331
349
dist_slaves .append (slave )
332
350
333
351
# "special" slaves are those we are _not_ putting in the auto pool.
334
- if 'special' not in ext :
352
+ if 'special' not in ext :
335
353
auto_slaves .append (slave )
336
354
337
355
c ['slaves' ].append (slave )
@@ -687,7 +705,7 @@ class CommandEnv(object):
687
705
if "msvc" in props ["buildername" ]:
688
706
env ["MSVC" ] = "1"
689
707
690
- if "valgrind" in props and props ["valgrind" ] == True :
708
+ if "valgrind" in props and props ["valgrind" ] == True :
691
709
env ["RUST_THREADS" ]= "1"
692
710
env ["RUST_RT_TEST_THREADS" ]= "1"
693
711
@@ -730,7 +748,7 @@ class ConfigCommand(object):
730
748
"docs" , "optimize" , "optimize-tests" ,
731
749
"optimize-cxx" , "optimize-llvm" ,
732
750
"debug" , "pax-flags" , "clang" ,
733
- "inject-std-version" , "llvm-static-stdcpp" ]
751
+ "inject-std-version" , "llvm-static-stdcpp" ]
734
752
if "cargo" in props :
735
753
s = "./configure --local-rust-root=$PWD/rustc"
736
754
else :
@@ -969,7 +987,7 @@ def make_and_check_buildfactory(check, android, windows, parallel):
969
987
f .addStep (Compile (env = CommandEnv (),
970
988
haltOnFailure = True ,
971
989
flunkOnFailure = True ,
972
- timeout = compile_timeout ,
990
+ timeout = compile_timeout ,
973
991
interruptSignal = "TERM" ,
974
992
command = command ,
975
993
workdir = BUILD_WORKDIR ))
@@ -1008,7 +1026,7 @@ def cargo_buildfactory():
1008
1026
1009
1027
f .addStep (ShellCommand (env = CommandEnv (),
1010
1028
command = ["sh" , ".travis.install.deps.sh" ],
1011
- workdir = WORKDIR ))
1029
+ workdir = WORKDIR ))
1012
1030
1013
1031
f .addStep (Configure (env = CommandEnv (),
1014
1032
haltOnFailure = True ,
@@ -1091,8 +1109,7 @@ def cargo_nightly_buildfactory(platform, host):
1091
1109
1092
1110
def snap3_buildfactory (platform ):
1093
1111
global s3_addy
1094
- f = make_and_check_buildfactory (True , False , "win" in platform ,
1095
- False )
1112
+ f = make_and_check_buildfactory (True , False , "win" in platform , False )
1096
1113
hosts = all_platform_hosts (platform )
1097
1114
if hosts != None :
1098
1115
for host in hosts :
@@ -1149,12 +1166,11 @@ def cargo_distsnap_trigger_buildfactory(scheduler_names):
1149
1166
def distsnap_buildfactory (platform , channel_label ):
1150
1167
global s3_addy
1151
1168
# Don't run check because distcheck is going to do it all again
1152
- f = make_and_check_buildfactory (False , False , "win" in platform ,
1153
- False )
1169
+ f = make_and_check_buildfactory (False , False , "win" in platform , False )
1154
1170
f .addStep (Compile (env = CommandEnv (),
1155
1171
name = "distcheck" ,
1156
1172
command = [MakeCommand (), "distcheck" ],
1157
- timeout = compile_timeout ,
1173
+ timeout = compile_timeout ,
1158
1174
interruptSignal = "TERM" ,
1159
1175
workdir = BUILD_WORKDIR ))
1160
1176
@@ -1534,8 +1550,8 @@ for p in snap_platforms:
1534
1550
"branch" :"snap-stage3" ,
1535
1551
"hosts" : "all" ,
1536
1552
"valgrind" : False ,
1537
- "inject-std-version" : False ,
1538
- "llvm-static-stdcpp" : p == 'linux' ,
1553
+ "inject-std-version" : False ,
1554
+ "llvm-static-stdcpp" : p == 'linux' ,
1539
1555
"check" : True },
1540
1556
factory = snap3_buildfactory (p )))
1541
1557
@@ -1551,7 +1567,7 @@ for p in dist_platforms:
1551
1567
"build" : auto_platform_build (p ),
1552
1568
"valgrind" : False ,
1553
1569
"check" : True ,
1554
- "llvm-static-stdcpp" : p == 'linux' ,
1570
+ "llvm-static-stdcpp" : p == 'linux' ,
1555
1571
"release-channel" : "nightly" },
1556
1572
nextSlave = nextSlave ,
1557
1573
slavenames = platform_dist_slaves (p ),
@@ -1579,7 +1595,7 @@ for p in dist_platforms:
1579
1595
"build" : auto_platform_build (p ),
1580
1596
"valgrind" : False ,
1581
1597
"check" : True ,
1582
- "llvm-static-stdcpp" : p == 'linux' ,
1598
+ "llvm-static-stdcpp" : p == 'linux' ,
1583
1599
"release-channel" : "beta" },
1584
1600
nextSlave = nextSlave ,
1585
1601
slavenames = platform_dist_slaves (p ),
@@ -1607,7 +1623,7 @@ for p in dist_platforms:
1607
1623
"build" : auto_platform_build (p ),
1608
1624
"valgrind" : False ,
1609
1625
"check" : True ,
1610
- "llvm-static-stdcpp" : p == 'linux' ,
1626
+ "llvm-static-stdcpp" : p == 'linux' ,
1611
1627
"release-channel" : "stable" },
1612
1628
nextSlave = nextSlave ,
1613
1629
slavenames = platform_dist_slaves (p ),
@@ -1700,8 +1716,8 @@ for platform in cargo_platforms:
1700
1716
"branch" :"auto-cargo" ,
1701
1717
"verbose" : True ,
1702
1718
"cargo" : True ,
1703
- "bits" : bits ,
1704
- "build" : triple },
1719
+ "bits" : bits ,
1720
+ "build" : triple },
1705
1721
slavenames = slaves ,
1706
1722
factory = cargo_buildfactory ()))
1707
1723
@@ -1759,8 +1775,8 @@ c['status'].append(html.WebStatus(
1759
1775
1760
1776
from buildbot .status import words
1761
1777
c ['status' ].append (words .IRC (host = "irc.mozilla.org" ,
1762
- port = 6697 ,
1763
- useSSL = True ,
1778
+ port = 6697 ,
1779
+ useSSL = True ,
1764
1780
nick = "rust-buildbot" ,
1765
1781
channels = ["#rust-bots" ]))
1766
1782
0 commit comments