Skip to content

Commit

Permalink
Revert "bazel: update release config (#479)" (#482)
Browse files Browse the repository at this point in the history
This reverts commit 4647e878fa945dcf3a3a38f7159b58f5cd890662. We noticed when building with these new release options that builds fail with the following errors:

```
Uncompressed input jar has size 18446744072925756006, which exceeds the maximum supported output size 4294967295.
Assuming that ijar will be smaller and hoping for the best.
Target //:ios_dist failed to build
```

Signed-off-by: Michael Rebello <[email protected]>
Signed-off-by: JP Simard <[email protected]>
  • Loading branch information
rebello95 authored and jpsim committed Nov 28, 2022
1 parent d2663c3 commit 81440b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mobile/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ build:sim --ios_multi_cpus=i386,x86_64 --fat_apk_cpu=x86,x86_64

build:fat --ios_multi_cpus=i386,x86_64,armv7,arm64 --fat_apk_cpu=x86,x86_64,armeabi-v7a,arm64-v8a

# TODO: Enable `--copt -ggdb3`. Issues were encountered previously with this:
# https://github.com/lyft/envoy-mobile/pull/155#issuecomment-507461500
build:release \
--linkopt=-s \
--copt=-O2 \
--apple_bitcode=embedded \
--compilation_mode=opt \
--copt=-fembed-bitcode

0 comments on commit 81440b3

Please sign in to comment.