Skip to content

Commit 6eb5f7a

Browse files
d-e-s-odanielocfb
authored andcommitted
Clone pahole from GitHub
Parallel downloads of pahole from git.kernel.org using HTTPS seems to be blocked randomly, rendering parallel vmlinux.h header generation flaky & unusable. Switch to cloning Arnaldo's mirror at https://github.com/acmel/dwarves, which doesn't pose this restriction. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 395c446 commit 6eb5f7a

2 files changed

Lines changed: 18 additions & 23 deletions

File tree

.github/workflows/vmlinux.h.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,28 @@ jobs:
2424
fetch-depth: 1
2525
path: linux/
2626

27+
- name: Check out pahole source
28+
uses: actions/checkout@v6
29+
with:
30+
repository: 'acmel/dwarves'
31+
ref: 'next'
32+
fetch-depth: 1
33+
path: pahole/
34+
35+
- name: Install pahole
36+
shell: bash
37+
run: |
38+
sudo apt -y install cmake git libdw-dev libelf-dev
39+
cd pahole
40+
mkdir -p build
41+
cmake -B=build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
42+
make -C build -j$(nproc)
43+
sudo make -C build install
44+
2745
- name: Install dependencies
2846
shell: bash
2947
run: |
3048
./scripts/install-dependencies.sh
31-
./scripts/install-pahole.sh
3249
./scripts/install-bpftool.sh
3350
3451
- name: x86_64/vmlinux.h

scripts/install-pahole.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)