From 5521840cbca21dfd26aa76f0f1c84077e72c4b91 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 30 Oct 2023 11:48:50 -0700 Subject: [PATCH] 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 Part-of: --- .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