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

Add i586-* builders #87

Merged
merged 1 commit into from
Mar 29, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ auto_platforms = [
"win-msvc-32-opt",
"win-msvc-64-opt",
"win-msvc-64-opt-mir",
"win-msvc-32-cross-opt",

"win-gnu-32-opt-rustbuild",
"win-msvc-64-opt-rustbuild",
Expand All @@ -168,7 +169,8 @@ dist_platforms = ["linux", "mac", "arm-android", "musl-linux",
"cross-host-linux",
"mac-ios",
"win-gnu-32", "win-gnu-64",
"win-msvc-32", "win-msvc-64"]
"win-msvc-32", "win-msvc-64",
"win-msvc-32-cross"]
packaging_platforms = ["linux", "mac",
"win-gnu-32", "win-gnu-64",
"win-msvc-32", "win-msvc-64"]
Expand Down Expand Up @@ -204,6 +206,7 @@ nogate_builders = [
dist_nogate_platforms = [
"mac-ios",
"cross-host-linux",
"cross-win",
]

cross_host_targets = [
Expand All @@ -225,6 +228,7 @@ cargo_cross_targets = [
nightly_lincross_targets = [
'mips-unknown-linux-musl',
'mipsel-unknown-linux-musl',
'i586-unknown-linux-gnu',
]
beta_lincross_targets = [
'armv7-unknown-linux-gnueabihf',
Expand All @@ -240,6 +244,11 @@ stable_lincross_targets = [
'mipsel-unknown-linux-gnu',
'aarch64-unknown-linux-gnu',
]
nightly_wincross_targets = [
'i586-pc-windows-msvc',
]
beta_wincross_targets = []
stable_wincross_targets = []

ios_targets = [
'aarch64-apple-ios',
Expand All @@ -251,6 +260,8 @@ ios_targets = [

all_lincross_targets = nightly_lincross_targets + beta_lincross_targets + \
stable_lincross_targets
all_wincross_targets = nightly_wincross_targets + beta_wincross_targets + \
stable_wincross_targets

####### BUILDSLAVES

Expand Down Expand Up @@ -1593,7 +1604,7 @@ def platform_snap_slaves(p):
# FIXME: The linux AMI instances are using valgrind 3.7 and we need 3.8+
# This rule limits which bots we run the valgrinding dist snapshot on.
def platform_dist_slaves(p):
if 'musl' in p or 'cross' in p or 'ios' in p:
if 'musl' in p or 'cross-linux' in p or 'ios' in p:
return platform_slaves(p)

# p is exactly the platform name, ie arm-android
Expand Down Expand Up @@ -1664,6 +1675,9 @@ for p in auto_platforms:
if "linux-cross" in p:
chk = False
targets += all_lincross_targets
if "win-msvc-32-cross" in p:
chk = False
targets += all_wincross_targets
if "ios" in p:
chk = False
targets += ios_targets
Expand Down Expand Up @@ -1757,16 +1771,23 @@ for p in dist_platforms:
rustbuild = None

my_lincross_targets = []
my_wincross_targets = []
my_cross_host_targets = []
if channel == 'stable':
my_lincross_targets += stable_lincross_targets
my_wincross_targets += stable_wincross_targets
if channel == 'beta':
my_lincross_targets += stable_lincross_targets
my_lincross_targets += beta_lincross_targets
my_wincross_targets += stable_wincross_targets
my_wincross_targets += beta_wincross_targets
elif channel == 'nightly':
my_lincross_targets += stable_lincross_targets
my_lincross_targets += beta_lincross_targets
my_lincross_targets += nightly_lincross_targets
my_wincross_targets += stable_wincross_targets
my_wincross_targets += beta_wincross_targets
my_wincross_targets += nightly_wincross_targets
my_cross_host_targets += [h['target'] for h in cross_host_targets]

# The `cross-linux` builder below is intended for just producing
Expand All @@ -1785,6 +1806,8 @@ for p in dist_platforms:

if "cross-linux" in p:
my_targets += my_lincross_targets
if "win-msvc-32-cross" in p:
my_targets += my_wincross_targets
if "cross-host-linux" in p:
rustbuild = True
my_hosts = my_cross_host_targets
Expand Down