Skip to contentSkip to conversation

samples/bpf: README: Update build dependencies required

PATCH Applied Anh Tuan Phan 2 participants 2 messages Jul 16, 2023 – Jul 19, 2023 BPF

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 samples/bpf: README: Update build dependencies required

Update samples/bpf/README.rst to add pahole to the build dependencies list. Add the reference to "Documentation/process/changes.rst" for minimum version required so that the version required will not be outdated in the future.

---
Changes from v1 + v2:
- Remove specified version numbers for each dependency
- Add the reference to Documentation/process/changes.rst
- Add a hint for kernel configuration to tools/testing/selftests/bpf/config Reference:
- v1 + v2:
https://lore.kernel.org/all/[email protected]/

---
 samples/bpf/README.rst | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
samples/bpf/README.rst +9 -5
index 57f93edd1957..f16fc48e55a5 100644
@@ -8,11 +8,14 @@ Build dependencies
 ==================
 
 Compiling requires having installed:
- * clang >= version 3.4.0
- * llvm >= version 3.7.1
+ * clang
+ * llvm
+ * pahole
 
-Note that LLVM's tool 'llc' must support target 'bpf', list version
-and supported targets with command: ``llc --version``
+Consult :ref:`Documentation/process/changes.rst <changes>` for the minimum
+version numbers required and how to update them. Note that LLVM's tool
+'llc' must support target 'bpf', list version and supported targets with
+command: ``llc --version``
 
 Clean and configuration
 -----------------------
@@ -24,7 +27,8 @@ after some changes (on demand)::
  make -C samples/bpf clean
  make clean
 
-Configure kernel, defconfig for instance::
+Configure kernel, defconfig for instance
+(see "tools/testing/selftests/bpf/config" for a reference config)::
 
  make defconfig
 
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:

Quoted 8 lines · On Sun, 16 Jul 2023 23:13:51 +0700 you wrote:

Update samples/bpf/README.rst to add pahole to the build dependencies list. Add the reference to "Documentation/process/changes.rst" for minimum version required so that the version required will not be outdated in the future.

[...]

Here is the summary with links:
- [v3] samples/bpf: README: Update build dependencies required

    https://git.kernel.org/bpf/bpf-next/c/89dc4037dda1

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html