summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-07-21 14:24:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-21 23:00:18 +0100
commitcdc1a949c072c4ceaa3f94c1cdd84acea8ca7f5c (patch)
treef934f97a3045e8acb706280ca881655c270e5d54 /bitbake/lib/bb/utils.py
parent56e1ae0ccf8b5e206e0721c4dc22bd1e701966a9 (diff)
downloadpoky-cdc1a949c072c4ceaa3f94c1cdd84acea8ca7f5c.tar.gz
clang: improve LLVM target selection logic
The GPU targets are incredibly slow to build, so if the DISTRO_FEATURES doesn't include opengl or vulkan assume that the user will not be using a GPU and disable them. Alternatively, a distribution could state that they'll only be using one of the backends, and set LLVM_TARGETS_GPU explicitly. On my build machine, disabling the GPU targets reduces the build time of clang-native from 21m to 16m. (From OE-Core rev: 2273a0685757421f39541a352d77b67e5ba604d3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
0 files changed, 0 insertions, 0 deletions