Support split-debug; Enable core dumps in Mesa;
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.
♥ core-dumps
CI 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