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 <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25962>
This commit is contained in:
Rob Clark 2023-10-30 11:48:50 -07:00 committed by Marge Bot
parent 7d0ae38ef7
commit 5521840cbc
1 changed files with 1 additions and 1 deletions

View File

@ -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