Skip to content

Support split-debug; Enable core dumps in Mesa;

David Heidelberg requested to merge dh/mesa:split-dwarf into main

meson

For meson, we offer split-debug option, to enable compilation with -gsplit-dwarf and --gdb-index.

This is used to optimize linking time by omitting debug stuff from linking.

CI core-dumps

For build in CI, we enable split-debug and create debug.dwp which can be used to analyze core-dumps created by CI jobs in testing stages.

For Mesa CI jobs, we enable core dumps and export them into artifacts to be analyzed later.

Distribution of artifacts

This MR changing distribution preferring s3 (with zstd):

  • stripped binaries (e.g. mesa-arm64.tar.zst)
  • unstripped binaries (e.g. mesa-arm64-unstripped.tar.zst)
  • debug symbols (e.g. debug.dwp)

Advantage is better compression (generic zip vs zstd -3) and faster artifacts processing (contains only small lava and b2c files)

Docs

Docs: - see the sample

Source pipeline: https://gitlab.freedesktop.org/okias/mesa/-/pipelines/779591/failures

Edited by David Heidelberg

Merge request reports