]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Strip only psycopg dynamic libraries, not the system ones
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 8 Nov 2021 18:14:28 +0000 (19:14 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 8 Nov 2021 19:02:19 +0000 (20:02 +0100)
commit53484c3c5852ad72b851a19d6f9838a828b9148d
tree15da8b43a8f302bef54eed68a5315fd5ac9100a4
parent2791238b36b2f644bfa06e163f04de3772ccb655
Strip only psycopg dynamic libraries, not the system ones

Stripping symbols is beneficial (reduction of 30% of the final package, > %90%
of the installed libraries. However just running `auditwheel repair --strip`
breaks some of the libraries included from the system, which fail at import
with errors such as "ELF load command address/offset not properly aligned".
.github/workflows/packages.yml
tools/build/strip_wheel.sh [new file with mode: 0755]