Are you inadvertently turning on something that records debug symbols? On Wed, Aug 11, 2021 at 7:31 PM David Lopes <david.lo...@outsystems.com> wrote:
> Hello all, > > I have a set of build scripts that spawn a docker container to build a set > of artifacts in Python using PIP. One of the dependencies of these > artifacts is, of course, the *grpc* library. The build script is > basically pip installing a *requirements.txt* and zipping the > dependencies. > > I noticed the following odd behavior: > > When I run the scripts from my Windows laptop, > *cygrpc.cpython-38-x86_64-linux-gnu.so > <http://cygrpc.cpython-38-x86_64-linux-gnu.so>* file has 9.8M in size. > However, if I run the exact same scripts from an Apple M1 laptop, > *cygrpc.cpython-38-aarch64-linux-gnu.so > <http://cygrpc.cpython-38-aarch64-linux-gnu.so>* will take an astonishing > 119M in size (check prints below) > > [image: Screenshot 2021-08-12 at 00.18.49.png] > > [image: image.png] > > This is problematic, as these scripts are building an AWS Lambda layer, > and having a single .so with 119M is a big no-no. > > Do you have any idea why is this happening? How can I possibly build my > package without having to carry a 119M file around? > > Thanks, > David > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to grpc-io+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/316dc65f-51a3-45f2-b4d1-6df2c7fadf15n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/316dc65f-51a3-45f2-b4d1-6df2c7fadf15n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAAvp3oP93RHTh-_3YLMF%3D0n%3DVTzooG7hTLUg266c4JbDTJaR6g%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature