Skip to content
Snippets Groups Projects

kernel.spec: add llvm-devel build requirement

Merged Scott Weaver requested to merge scweaver/kernel-ark:buildrequires_llvm-devel into os-build
  1. Jan 31, 2023
    • Scott Weaver's avatar
      kernel.spec: add llvm-devel build requirement · 58382d69
      Scott Weaver authored
      
      The bpftool and the llvm system feature check requires the llvm-devel
      package. The bpftool package is only created if selftests is defined and
      when selftests is enabled, then samples/bpf will be built which will use
      the llvm feature check. Therefore the llvm-devel package is added as a
      build requirement of selftests to keep it consistent with the llvm
      package already specified there.
      
      A dependency of the llvm-devel package is llvm so we no longer need to
      specify this package explicitly.
      
      This change came in eb9d1acf ('bpftool: Add LLVM as default
      library for disassembling JIT-ed programs').
      
      Signed-off-by: Scott Weaver's avatarScott Weaver <scweaver@redhat.com>
      58382d69
Loading