Ignore:
Timestamp:
12/03/2023 05:56:37 AM (5 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
4614dc1
Parents:
528007c
Message:

llvm: Remove BPF from targets

To use clang with BPF for v4l-utils, libbpf must be installed but it's
not a BLFS package. And I doubt if any BLFS user really uses an IR
remote control on the BLFS system. So let's not make all BLFS users
build something useless.

Note that if both clang and libbpf both exist, v4l-utils will attempt to
use "clang -target bpf" anyway even if -Dbpf=disabled is explicitly
specified (we've got enough surprise from v4l-utils building system
these days!!), so add a note to v4l-utils for people installing non-BLFS
libbpf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/v4l-utils.xml

    r528007c rc39ddc6  
    101101  <sect2 role="installation">
    102102    <title>Installation of v4l-utils</title>
     103
     104    <note>
     105      <para>
     106        If you've installed both LLVM and libbpf (not in BLFS), either
     107        enable the BPF target (via
     108        <option>-DLLVM_TARGETS_TO_BUILD=</option>) building LLVM, or disable
     109        the infrared remote control decoders based on BPF:
     110      </para>
     111
     112      <!-- not "nodump" because it's harmless for BLFS anyway -->
     113      <screen><userinput>sed '/^ir_bpf_enabled/s/=.*/= false/' \
     114    -i utils/keytable/meson.build</userinput></screen>
     115    </note>
    103116
    104117    <para>
Note: See TracChangeset for help on using the changeset viewer.