Skip to content

Add support for LTO kernel builds, other CI fixes

Alan Maguire dwarves 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6CI: Make kernel source fetch tolerant of git host failures.github/scripts/build-kernel.sh .github/scripts/get-kernel-source.sh .github/workflows/vmtest.yml+51 -60 replies
2/6tests: Match BTF and DWARF functions with set operations in btf_functions.shtests/btf_functions.sh+44 -270 replies
3/6CI: Scope workflow concurrency groups to the branch for push runs.github/workflows/build.yml .github/workflows/test.yml+2 -20 replies
4/6tests: Expect no DWARF loader threads in reproducible_build.sh when CUs are mergedtests/reproducible_build.sh tests/test_lib.sh+51 -20 replies
5/6CI: Fix ondemand workflow inputs and LLVM version in function comparison.github/workflows/ondemand.yml .github/workflows/vmtest.yml+6 -20 replies
6/6CI: Add clang ThinLTO kernel build to test matrix.github/scripts/build-kernel.sh .github/scripts/run-selftests.sh .github/workflows/ondemand.yml +2 more+54 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH dwarves 0/6] Add support for LTO kernel builds, other CI fixes

CI has been flaky lately, git.kernel.org clones in particular. Provide fallback locations for cloning and retry (patch 1).

When testing with LTO kernels, function comparisons between DWARF/BTF take a long time; use more efficient methods (patch 2).

Fix a few other issues in CI (patches 3, 4).

Finally add ThinLTO kernel build support (patch 5).

Results of this series on top of pahole's next branch at [1]; all pass.

[1] https://github.com/alan-maguire/dwarves/actions/runs/43849750600

Alan Maguire (6):
CI: Make kernel source fetch tolerant of git host failures
tests: Match BTF and DWARF functions with set operations in
btf_functions.sh
CI: Scope workflow concurrency groups to the branch for push runs
tests: Expect no DWARF loader threads in reproducible_build.sh when
CUs are merged
CI: Fix ondemand workflow inputs and LLVM version in function
comparison
CI: Add clang ThinLTO kernel build to test matrix

 .github/scripts/build-kernel.sh      | 34 +++++++++++--
 .github/scripts/get-kernel-source.sh | 46 ++++++++++++++++++
 .github/scripts/run-selftests.sh     |  2 +-
 .github/workflows/build.yml          |  2 +-
 .github/workflows/ondemand.yml       | 11 ++++-
 .github/workflows/test.yml           | 10 +++-
 .github/workflows/vmtest.yml         | 20 +++++---
 tests/btf_functions.sh               | 71 +++++++++++++++++-----------
 tests/reproducible_build.sh          | 17 ++++++-
 tests/test_lib.sh                    | 36 ++++++++++++++
 10 files changed, 207 insertions(+), 42 deletions(-)
 create mode 100755 .github/scripts/get-kernel-source.sh
Signature · 1 line
2.56.0