Enable LTO iOS (#2504)

This commit is contained in:
Bart Louwers
2024-06-13 20:41:27 +02:00
committed by GitHub
parent 4f3485f31a
commit 3eab499c8e

View File

@@ -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"