about summary refs log tree commit diff
path: root/.github
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 /.github
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 '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b29b3a41803..2b6e96b467e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -301,7 +301,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