From d65dfd13ec945be75c4f2499ef14ee69c678bcf5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 8 Mar 2018 10:57:03 -0800 Subject: [PATCH] travis: Upgrade dist builders for OSX This commit upgrades the dist builders for OSX to Travis's new `xcode9.3-moar` image which has 3 cores available to it instead of 2. This should help us provide speedier builds on OSX and hit timeouts less in theory! Note that historically the dist builders for OSX have been a different version than the ones that are running tests. I had forgotten why this was the case and digging around brought up 307615567 where apparently Xcode 8 wasn't able to compile LLVM with `MACOSX_DEPLOYMENT_TARGET=10.7` which we desired. On a whim I gave this PR a spin and it [looks like][green] this has since been fixed (maybe in LLVM?). In any case those green builds should hopefully mean that we can safely upgrade and get faster infrastructure to boot. This commit also includes an upgrade of OpenSSL. This is not done for security reasons but rather build system reasons. Originally builds with the new image [did not succeed][red] due to weird build failures in OpenSSL, but upgrading seems to have made the spurious errors go away to here's to also hoping that's fixed! [green]: https://travis-ci.org/rust-lang/rust/builds/351353412 [red]: https://travis-ci.org/rust-lang/rust/builds/350969248 --- .travis.yml | 6 +++--- src/bootstrap/native.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4738f91665d..4eff6337ad8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ matrix: NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1 os: osx - osx_image: xcode7.3 + osx_image: xcode9.3-moar if: branch = auto # macOS builders. These are placed near the beginning because they are very @@ -90,7 +90,7 @@ matrix: NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1 os: osx - osx_image: xcode7.3 + osx_image: xcode9.3-moar if: branch = auto - env: > @@ -104,7 +104,7 @@ matrix: NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1 os: osx - osx_image: xcode7.3 + osx_image: xcode9.3-moar if: branch = auto # Linux builders, remaining docker images diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 7888f0b938d..76ecb8e95e8 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -421,9 +421,9 @@ impl Step for TestHelpers { } } -const OPENSSL_VERS: &'static str = "1.0.2m"; +const OPENSSL_VERS: &'static str = "1.0.2n"; const OPENSSL_SHA256: &'static str = - "8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f"; + "370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe"; #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct Openssl {