From 77c0e7b33efcb950a424ed69a64dd7345f5873d8 Mon Sep 17 00:00:00 2001 From: silviana amethyst <1388063+ofloveandhate@users.noreply.github.com> Date: Sun, 17 May 2026 09:45:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20strip=20debug=20symbols=20?= =?UTF-8?q?from=20bundled=20Linux=20deps=20to=20reduce=20wheel=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libeigenpy alone is 588 MB uncompressed with debug symbols, pushing the manylinux wheel over TestPyPI/PyPI's 100 MB per-file limit. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build_and_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 44cf59674..f024f46f3 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -238,7 +238,8 @@ jobs: rm -rf eigenpy-3.11.0 && tar zxf eigenpy-3.11.0.tar.gz && cd eigenpy-3.11.0 && mkdir -p bld && cd bld && cmake .. -DCMAKE_PREFIX_PATH=/tmp/deps-py -DCMAKE_INSTALL_PREFIX=/tmp/deps-py -DPython3_EXECUTABLE=$(which python) -DPython3_NumPy_INCLUDE_DIR=$(python -c "import numpy; print(numpy.get_include())") -DBUILD_TESTING=OFF && - make -j2 install + make -j2 install && + find /tmp/deps-py/lib -name '*.so*' -exec strip --strip-debug {} + 2>/dev/null || true # On macOS, build all Boost components (including Boost.Python) into /tmp/deps-py # so delocate sees only one set of dylibs. boost-base is used only for C++ tests. CIBW_BEFORE_BUILD_MACOS: >