Skip to content

Commit 5e122f5

Browse files
committed
Auto merge of #40967 - alexcrichton:old-osx, r=brson
travis: Compile OSX releases with Xcode 7 Unfortunately what we're using right now, Xcode 8.2, cannot compile LLVM for OSX 10.7. We've done this historically and Gecko would like to maintain this compabitiliby. This commit moves our release builders for OSX to using Xcode 7 which can compile LLVM for 10.7. The builders running tests continue to use Xcode 8.2, however, because the LLDB version with Xcode 7, 350, is blacklisted in running our LLDB tests. To continue running LLDB tests we'll stick with Xcode 8.2.
2 parents 2f16528 + 3076155 commit 5e122f5

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.travis.yml

+16-10
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ matrix:
4040
- env: IMAGE=x86_64-gnu-distcheck
4141
- env: IMAGE=x86_64-gnu-incremental
4242

43-
# OSX builders
43+
# OSX builders running tests, these run the full test suite.
44+
#
45+
# Note that the compiler is compiled to target 10.8 here because the Xcode
46+
# version that we're using, 8.2, cannot compile LLVM for OSX 10.7.
4447
- env: >
4548
RUST_CHECK_TARGET=check
4649
RUST_CONFIGURE_ARGS=--build=x86_64-apple-darwin
@@ -68,17 +71,22 @@ matrix:
6871
osx_image: xcode8.2
6972
install: *osx_install_sccache
7073
74+
# OSX builders producing releases. These do not run the full test suite and
75+
# just produce a bunch of artifacts.
76+
#
77+
# Note that these are running in the `xcode7` image instead of the
78+
# `xcode8.2` image as above. That's because we want to build releases for
79+
# OSX 10.7 and `xcode7` is the latest Xcode able to compile LLVM for 10.7.
7180
- env: >
7281
RUST_CHECK_TARGET=dist
7382
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-extended"
7483
SRC=.
7584
DEPLOY=1
7685
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
7786
SCCACHE_ERROR_LOG=/tmp/sccache.log
78-
MACOSX_DEPLOYMENT_TARGET=10.8
79-
MACOSX_STD_DEPLOYMENT_TARGET=10.7
87+
MACOSX_DEPLOYMENT_TARGET=10.7
8088
os: osx
81-
osx_image: xcode8.2
89+
osx_image: xcode7
8290
install: *osx_install_sccache
8391
- env: >
8492
RUST_CHECK_TARGET=dist
@@ -87,10 +95,9 @@ matrix:
8795
DEPLOY=1
8896
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
8997
SCCACHE_ERROR_LOG=/tmp/sccache.log
90-
MACOSX_DEPLOYMENT_TARGET=10.8
91-
MACOSX_STD_DEPLOYMENT_TARGET=10.7
98+
MACOSX_DEPLOYMENT_TARGET=10.7
9299
os: osx
93-
osx_image: xcode8.2
100+
osx_image: xcode7
94101
install: *osx_install_sccache
95102
96103
# "alternate" deployments, these are "nightlies" but don't have assertions
@@ -105,10 +112,9 @@ matrix:
105112
DEPLOY_ALT=1
106113
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
107114
SCCACHE_ERROR_LOG=/tmp/sccache.log
108-
MACOSX_DEPLOYMENT_TARGET=10.8
109-
MACOSX_STD_DEPLOYMENT_TARGET=10.7
115+
MACOSX_DEPLOYMENT_TARGET=10.7
110116
os: osx
111-
osx_image: xcode8.2
117+
osx_image: xcode7
112118
install: *osx_install_sccache
113119
114120
env:

0 commit comments

Comments
 (0)