about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-11 20:38:34 +0000
committerbors <bors@rust-lang.org>2022-12-11 20:38:34 +0000
commitbdb07a8ec8e77aa10fb84fae1d4ff71c21180bb4 (patch)
treea2d6f210857d869ec28750a9193c34da68dd9a36 /src
parent657eefe2dcf18f76ac67a39945810128e101178c (diff)
parent3a085f769545e5f3327d29460060520d59766ba7 (diff)
downloadrust-bdb07a8ec8e77aa10fb84fae1d4ff71c21180bb4.tar.gz
rust-bdb07a8ec8e77aa10fb84fae1d4ff71c21180bb4.zip
Auto merge of #103647 - lqd:osx-x64-lto, r=Mark-Simulacrum
Enable ThinLTO for rustc on `x86_64-apple-darwin`

Local measurements seemed to show an improvement on a couple benchmarks, so I'd like to test real CI builds, and see if the builder doesn't timeout with the expected slight increase in build times.

Let's start with x64 rustc ThinLTO, and then figure out the file structure to configure LLVM ThinLTO. Maybe we'll then try `aarch64` builds since that also looked good locally.
Diffstat (limited to 'src')
-rw-r--r--src/ci/github-actions/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index 5a0397a3d12..d1ba46ad30d 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -467,7 +467,7 @@ jobs:
           - name: dist-x86_64-apple
             env:
               SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
-              RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
+              RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin
               RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
               MACOSX_DEPLOYMENT_TARGET: 10.7
               SELECT_XCODE: /Applications/Xcode_13.4.1.app