<FromGitter>
<mekhla18> Hello wonderful community members, ⏎ ⏎ Hope you're all doing great and healthy! ⏎ I am Mekhla Mukherjee from Mumbai, Maharashtra in India, the land of food, culture and immense diversity. I have recently joined Manas as the Community Manager for Crystal and I would like to take this opportunity to introduce myself to this amazing community. ⏎ ... [https://gi
<FromGitter>
<Blacksmoke16> could be a diff in LLVM version too
<mps>
crystal 1.7.2 is built with LLVM 14 in both cases
<FromGitter>
<Blacksmoke16> dunno yea
<FromGitter>
<Blacksmoke16> kinda strange
<mps>
only what I noticed are some new features added, maybe this increase binary
<FromGitter>
<Blacksmoke16> hard to say w/o diving into the diff and thats a pita
<FromGitter>
<Blacksmoke16> of the IR that is
<mps>
is the ameba author maybe here
<FromGitter>
<Blacksmoke16> \cc @veelenga
<FromGitter>
<veelenga> > *<mps>* anyone have idea why the new ameba 1.4.0 binary is much bigger than previous release 1.3.1? ⏎ ⏎ maybe because we embedded formatter https://github.com/crystal-ameba/ameba/pull/326. However, it was measured and the increase was 77 KiB (see the comments)
<mps>
veelenga>: not much I understand. formatter added this increase in size?
<FromGitter>
<veelenga> yes, I need to test, but in my understanding, it could be. Basically Ameba binary now requires part of crystal's formatter and it is quite big. ⏎ ⏎ However, you can reduce the binary size if you build with `--release` flag: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=63e120426fc5ff38e44e82bc]
<mps>
yes, we build ameba with '--release' for long
<mps>
ah, found it, have to add 'make CRFLAGS="--release" install PREFIX="$pkgdir/usr"' in package() build function
<FromGitter>
<ober> and also strip(1)
<mps>
ober: alpine build system automatically do strip if it is not explicitly disabled
<FromGitter>
<ober> gotcha. not like libmusl is fat
<mps>
yes, binaries built with musl are not so big but anyway striping debug symbols make them smaller, which is good to have smaller usage of disk
<mps>
at the end alpine moto is 'simple, small, secure' ;)
<mps>
or trying to be at least
Vexatos has quit [Remote host closed the connection]