IMHO its a bug to have static libraries in any sort of maintainable distribution, besides the wasted disk space its also an unnecessary headache to understand the binary dependencies. There is some theoretical performance increase, but if you are really chasing the last few percentage points then you'll want to build everything with your own optimized compiler flags anyways.
On Thursday, October 10, 2019 at 5:26:29 PM UTC+2, Marc Mezzarobba wrote: > > Hi, > > Maybe a stupid question, but: does Sage really need to build all > these static libraries? Why? > > 456M ./local/lib/libgiac.a > 144M ./local/lib/libec.a > 120M ./local/lib/libppl_c.a > 107M ./local/lib/libpari.a > 69M ./local/lib/libppl.a > 48M ./local/lib/libsymmetrica.a > 31M ./local/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a > 24M ./local/lib/libgsl.a > 16M ./local/lib/python2.7/config/libpython2.7.a > 16M ./local/lib/libsqlite3.a > 16M ./local/lib/libfplll.a > 7,7M ./local/lib/ecl-16.1.2/libcmp.a > 7,5M ./local/lib/libbraiding.a > 5,9M ./local/lib/libSingular.a > 5,4M ./local/lib/libyasm.a > 4,5M ./local/lib/ecl-16.1.2/libasdf.a > 3,7M ./local/lib/libfactory.a > 3,1M ./local/lib/libecm.a > 2,3M ./local/libexec/singular/MOD/gfanlib.a > 2,2M ./local/lib/libpolys.a > 2,2M ./local/lib/libgslcblas.a > 1,6M ./local/lib/libgfan.a > 1,6M ./local/lib/libgc.a > 1,6M ./local/lib/libcddgmp.a > 1,1M ./local/lib/libiml.a > 1,1M ./local/lib/libgd.a > 900K ./local/lib/libplanarity.a > 880K ./local/lib/ecl-16.1.2/libdefsystem.a > 796K ./local/lib/libcdd.a > 564K ./local/lib/ecl-16.1.2/libdeflate.a > 536K ./local/lib/libgivaro.a > 472K ./local/share/gap/pkg/SmallGrp-1.3/small8/sml1536.a > 448K ./local/lib/ecl-16.1.2/libsockets.a > 372K ./local/share/gap/pkg/SmallGrp-1.3/small6/sml1152.a > 364K ./local/share/gap/pkg/SmallGrp-1.3/small6/sml1920.a > 344K ./local/lib/python2.7/site-packages/numpy/core/lib/libnpymath.a > 320K ./local/lib/libomalloc.a > 292K ./local/lib/liblrcalc.a > 232K ./local/lib/ecl-16.1.2/libecl-help.a > 204K ./local/libexec/singular/MOD/gitfan.a > 200K ./local/share/gap/pkg/SmallGrp-1.3/small7/sml512.a > 200K ./local/lib/ecl-16.1.2/libprofile.a > 184K ./local/lib/ecl-16.1.2/librt.a > 180K ./local/lib/libcord.a > 176K ./local/lib/libratpoints.a > 172K ./local/lib/libhomfly.a > 172K ./local/lib/ecl-16.1.2/libecl-cdb.a > 168K ./local/libexec/singular/MOD/cohomo.a > 140K ./local/lib/ecl-16.1.2/libecl-curl.a > 132K ./local/lib/ecl-16.1.2/libserve-event.a > 132K ./local/lib/ecl-16.1.2/libql-minitar.a > 124K ./local/share/gap/pkg/SmallGrp-1.3/small5/sml1728.a > 124K ./local/libexec/singular/MOD/Order.a > 120K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml896.a > 116K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml640.a > 116K ./local/libexec/singular/MOD/syzextra.a > 112K ./local/share/gap/pkg/SmallGrp-1.3/small5/sml1600.a > 112K ./local/share/gap/pkg/SmallGrp-1.3/small5/sml1344.a > 108K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml960.a > 104K ./local/share/gap/pkg/SmallGrp-1.3/small5/sml1440.a > 100K ./local/share/gap/pkg/SmallGrp-1.3/small5/sml1944.a > 100K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml384.a > 96K ./local/share/gap/pkg/SmallGrp-1.3/small5/sml1296.a > 96K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml576.a > 96K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml256.a > 96K ./local/lib/ecl-16.1.2/libecl-quicklisp.a > 92K ./local/share/gap/pkg/SmallGrp-1.3/small2/sml864.a > 72K ./local/share/gap/pkg/SmallGrp-1.3/small3/sml768.a > 72K ./local/lib/ecl-16.1.2/libsb-bsd-sockets.a > 64K ./local/libexec/singular/MOD/pyobject.a > 44K ./local/libexec/singular/MOD/interval.a > 32K ./local/lib/libatomic_ops_gpl.a > 28K ./local/lib/libsingular_resources.a > 24K ./local/lib/librw.a > 24K ./local/lib/libatomic_ops.a > 16K ./local/share/gap/pkg/SmallGrp-1.3/id3/id768.a > 12K ./local/share/gap/pkg/SmallGrp-1.3/id5/id1344.a > 12K ./local/libexec/singular/MOD/python_module.a > 12K ./local/libexec/singular/MOD/bigintm.a > 8,0K ./local/share/gap/pkg/SmallGrp-1.3/id2/id832.a > 8,0K ./local/share/gap/pkg/SmallGrp-1.3/id2/id800.a > 8,0K ./local/share/gap/pkg/SmallGrp-1.3/id2/id576.a > 8,0K ./local/libexec/singular/MOD/customstd.a > 4,0K ./local/share/gap/pkg/SmallGrp-1.3/id10/id46620.a > 4,0K ./local/share/cliquer/testcase-small.a > 4,0K ./local/libexec/singular/MOD/singmathic.a > 4,0K ./local/libexec/singular/MOD/polymake.a > > -- > Marc > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/8e0e0525-4638-4c91-8116-a8c403b733f0%40googlegroups.com.