Open ZzEeKkAa opened 1 day ago
Running strip on libigc.so
reduces the size a lot.
@isuruf Indeed!
This is before and after:
47M /home/yevhenii/.miniforge3/envs/pti-test/lib/libigc.so.1.0.1
795M /home/yevhenii/.miniforge3/envs/pti-test/lib/libigc.so.1.0.1.bkp
I'm wondering if strip was called during debian package build. How was debug package generated? Understanding how to achieve this, will help to create similar split in conda-forge.
And another question is why Release target produced unstriped binary.
Thank you @isuruf !
Hello there!
I'm trying to recover IGC build in conda-forge, however faced few issues.
~First of all I've been able to compile the package locally, but on the CI it fails with this kind of errors:~
~Build script: https://github.com/ZzEeKkAa/intel-graphics-compiler-feedstock/blob/update/version_1.0.17537.20/recipe/build.sh~ ~Error log: https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/_apis/build/builds/1042113/logs/7~
Another issue is that resulted size of
libigc.so
is much bigger compare to attached debian packages attached to the release:Debian package:
Conda build:
Do you know why is the package is so huge in my build, despite the fact that I'm dynamically linking towards spirv-tools/llvm-spirv and all others libraries? How can I approach this issue to understand where the size is coming from? Maybe it builds with debug symbols by default?
The pending PR could be found here: https://github.com/conda-forge/intel-graphics-compiler-feedstock/pull/58