Compiled on X8DTU with 2 physical Intel Xeon E5530 CPU (8C16T) Compile Flags: CFLAGS='-mtune=generic -Os -pipe' CXXFLAGS='-mtune=generic -Os -pipe' LDFLAGS='-Wl,-O1' export CFLAGS CXXFLAGS LDFLAGS Dependencies: compiletc python3.9-dev icu70-dev zstd-dev Commands: ./bootstrap.sh --prefix=/usr/local --with-python=python3.9 real 0m 33.10s user 0m 29.46s sys 0m 2.93s time ./b2 stage threading=multi link=shared ...updated 1042 targets... real 2m 46.61s user 32m 9.24s sys 1m 19.32s touch /tmp/TimeMark time find -exec touch {} ';' real 1m 51.35s user 1m 7.18s sys 0m 40.37s sudo time ./b2 install threading=multi link=shared ...updated 17126 targets... real 3m 15.18s user 33m 16.16s sys 1m 27.75s find /usr/local/ -newer /tmp/TimeMark -not -type d > /tmp/full.list grep '/usr/local/lib/.*\.so.*' full.list | tar -T - -cf lib.tar mkdir packing-boost tar -xf lib.tar -C packing-boost findELF() { # files in ELF format busybox find "$1" -type f \ -exec busybox head -c4 {} ';' \ -print | busybox awk '/^\x7fELF/{print(substr($0,5))}' } strip --strip-unneeded $(findELF packing-boost) # dev grep -v '/usr/local/lib/.*\.so.*' full.list | grep -v '__pycache__' | tar -T - -cf dev.tar mkdir packing-boost-dev tar -xf dev.tar -C packing-boost-dev strip --strip-debug packing-boost-dev/usr/local/lib/*.a