Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Sergey Matyukevich <geomatsi@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/linux-tools: perf: add host-python3 dependency
Date: Tue, 6 Sep 2022 22:07:18 +0200	[thread overview]
Message-ID: <20220906200718.GA1490660@scaer> (raw)
In-Reply-To: <23566bac-ad05-3bd6-1b0b-ad4f3b3f5c20@mind.be>

Arnout, All,

On 2022-09-06 21:46 +0200, Arnout Vandecappelle spake thusly:
> On 05/09/2022 22:17, Yann E. MORIN wrote:
> >On 2022-09-04 23:57 +0300, Sergey Matyukevich spake thusly:
> >>Linux kernel commit 00facc760903 ("perf jevents: Switch build to use
> >>jevents.py")
> >00facc760903 is only parts of 6.0-rc kernels so far, so unless one uses
> >bleeding edge technology, there is no issue. So, paying the price of a
> >host-pytohn3 build just for release-candidate kernels is a bit too much
> >in my opinion.
> >So, I added a config knob to drive this, like we have for host-openssl
> >and a few other host programs for building the kernel.
>  If only python is needed, no modules, then $(BR2_PYTHON3_HOST_DEPENDENCY)

Dang, that's right, I totally forgot about that one...

> should be used instead. That checks for python 3.4 but I think that that is
> fine for the kernel as well. If not, we should probably bump the minimum
> system python3 version.

The imports are:

    import argparse
    import csv
    import json
    import os
    import sys
    from typing import (Callable, Dict, Optional, Sequence, Set, Tuple)
    import collections

I think hey all are from the stdlib, so no external module needed

So, indeed, BR2_PYTHON3_HOST_DEPENDENCY seems a much better fit...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-09-06 20:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 20:57 [Buildroot] [PATCH 1/1] package/linux-tools: perf: add host-python3 dependency Sergey Matyukevich
2022-09-05 20:17 ` Yann E. MORIN
2022-09-06 19:46   ` Arnout Vandecappelle
2022-09-06 20:07     ` Yann E. MORIN [this message]
2022-09-06 20:12       ` Sergey Matyukevich
2022-09-06 20:37       ` Yann E. MORIN
2022-09-07 12:18         ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220906200718.GA1490660@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=geomatsi@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox