Skip to content

Commit 3a7ab6c

Browse files
committed
Auto merge of #44610 - alexcrichton:osx-no-assertions, r=Mark-Simulacrum
travis: Disable LLVM assertions on OSX Our OSX builders are routinely and significantly over hour 2 hour "soft limit" for testing PRs. I *think* that a big portion of this time comes from the fact that LLVM and debug assertions are enabled. In an effort to speed up these builders and reduce cycle time this commit disables LLVM assertions on OSX for all builders. My thinking is that we'll let this bake for a bit after merged to see what the effect is on timing on Travis. If it doesn't actually help much we can turn them back on, and if it doesn't help enough we can disable Rust debug assertions as well.
2 parents fd4bef5 + 97fee3e commit 3a7ab6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ matrix:
2828
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
2929
SCCACHE_ERROR_LOG=/tmp/sccache.log
3030
MACOSX_DEPLOYMENT_TARGET=10.7
31+
NO_LLVM_ASSERTIONS=1
3132
os: osx
3233
osx_image: xcode7
3334
@@ -46,6 +47,7 @@ matrix:
4647
SCCACHE_ERROR_LOG=/tmp/sccache.log
4748
MACOSX_DEPLOYMENT_TARGET=10.8
4849
MACOSX_STD_DEPLOYMENT_TARGET=10.7
50+
NO_LLVM_ASSERTIONS=1
4951
os: osx
5052
osx_image: xcode8.2
5153
- env: >
@@ -56,6 +58,7 @@ matrix:
5658
SCCACHE_ERROR_LOG=/tmp/sccache.log
5759
MACOSX_DEPLOYMENT_TARGET=10.8
5860
MACOSX_STD_DEPLOYMENT_TARGET=10.7
61+
NO_LLVM_ASSERTIONS=1
5962
os: osx
6063
osx_image: xcode8.2
6164
@@ -73,6 +76,7 @@ matrix:
7376
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
7477
SCCACHE_ERROR_LOG=/tmp/sccache.log
7578
MACOSX_DEPLOYMENT_TARGET=10.7
79+
NO_LLVM_ASSERTIONS=1
7680
os: osx
7781
osx_image: xcode7
7882
- env: >
@@ -83,6 +87,7 @@ matrix:
8387
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
8488
SCCACHE_ERROR_LOG=/tmp/sccache.log
8589
MACOSX_DEPLOYMENT_TARGET=10.7
90+
NO_LLVM_ASSERTIONS=1
8691
os: osx
8792
osx_image: xcode7
8893

0 commit comments

Comments
 (0)