Module: Mesa Branch: main Commit: 5521840cbca21dfd26aa76f0f1c84077e72c4b91 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5521840cbca21dfd26aa76f0f1c84077e72c4b91
Author: Rob Clark <robdcl...@chromium.org> Date: Mon Oct 30 11:48:50 2023 -0700 ci: Only strip debug symbols Hopefully this will get us more useful backtraces in CI (for ex, with traces replay) while maintaining _most_ of the artifact size benefits of stripping: -rwxr-xr-x 1 robclark robclark 50M Oct 30 11:47 msm_dri.so.strip-debug -rwxr-xr-x 1 robclark robclark 40M Oct 30 11:47 msm_dri.so.strip -rwxr-xr-x 1 robclark robclark 129M Oct 30 11:47 msm_dri.so.orig Signed-off-by: Rob Clark <robdcl...@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25962> --- .gitlab-ci/prepare-artifacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh index 3c487a40a05..a62f95d25f2 100755 --- a/.gitlab-ci/prepare-artifacts.sh +++ b/.gitlab-ci/prepare-artifacts.sh @@ -23,7 +23,7 @@ else STRIP="strip" fi if [ -z "$ARTIFACTS_DEBUG_SYMBOLS" ]; then - find install -name \*.so -exec $STRIP {} \; + find install -name \*.so -exec $STRIP --strip-debug {} \; fi # Test runs don't pull down the git tree, so put the dEQP helper