diff mbox series

perf: disable llvm by default

Message ID 20260424064804.3331766-1-li.wang@windriver.com
State New
Headers show
Series perf: disable llvm by default | expand

Commit Message

Li Wang April 24, 2026, 6:48 a.m. UTC
perf.bb does not include any script about llvm. for avoiding to enable
llvm option under uncommon condition, force to disable it.
Maybe a future improvement would be to add llvm function.

Signed-off-by: Li Wang <li.wang@windriver.com>
---
 meta/recipes-kernel/perf/perf.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Li Wang April 24, 2026, 8:08 a.m. UTC | #1
please ignore the fix patch

On 2026-04-24 14:48, Li Wang wrote:
> perf.bb does not include any script about llvm. for avoiding to enable
> llvm option under uncommon condition, force to disable it.
> Maybe a future improvement would be to add llvm function.
>
> Signed-off-by: Li Wang <li.wang@windriver.com>
> ---
>   meta/recipes-kernel/perf/perf.bb | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
> index 7a58088462..f9e2b9f4ee 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -114,6 +114,7 @@ EXTRA_OEMAKE = '\
>       EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
>       perfexecdir=${libexecdir} \
>       NO_GTK2=1 \
> +    NO_LIBLLVM=1 \
>       ${PACKAGECONFIG_CONFARGS} \
>       PKG_CONFIG=pkg-config \
>       TMPDIR="${B}" \
diff mbox series

Patch

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 7a58088462..f9e2b9f4ee 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -114,6 +114,7 @@  EXTRA_OEMAKE = '\
     EXTRA_LDFLAGS="${PERF_EXTRA_LDFLAGS}" \
     perfexecdir=${libexecdir} \
     NO_GTK2=1 \
+    NO_LIBLLVM=1 \
     ${PACKAGECONFIG_CONFARGS} \
     PKG_CONFIG=pkg-config \
     TMPDIR="${B}" \