From 3eab499c8e9330b71ddf1d93998652bc690b307e Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Thu, 13 Jun 2024 20:41:27 +0200 Subject: [PATCH] Enable LTO iOS (#2504) --- .github/workflows/ios-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index c868c30b7..645b8a1ea 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -235,7 +235,7 @@ jobs: - name: Build XCFramework if: env.make_release run: | - bazel build --compilation_mode=opt --features=dead_strip --objc_enable_binary_stripping \ + bazel build --compilation_mode=opt --features=dead_strip,thin_lto --objc_enable_binary_stripping \ --apple_generate_dsym --output_groups=+dsyms --//:renderer=metal //platform/ios:MapLibre.dynamic --embed_label=maplibre_ios_"$(cat VERSION)" echo xcframework="$(bazel info execution_root)"/"$(bazel cquery --output=files --compilation_mode=opt --//:renderer=metal //platform/ios:MapLibre.dynamic)" >> "$GITHUB_ENV"