Post AlukcjDAsdOCWHjaS0 by landley@mstdn.jp
(DIR) More posts by landley@mstdn.jp
(DIR) Post #AlukchbupfzXYRIJjk by jani@fosstodon.org
2024-09-06T09:53:11Z
0 likes, 0 repeats
Since v6.10 the Linux kernel depends on Python to build, at least if you need support for the drm/msm driver (CONFIG_DRM_MSM=y).This is used to generate headers from source xml during build, not an unreasonable scenario. I much prefer Python over C or Perl or shell scripting for this type of file and string processing.Yet I'm unsure what the stance for the Python build dependency is among the powers that be. It may have snug in under their radar.Should I try it with drm/i915...?#kernel
(DIR) Post #AlukciPBsTPI1GLfXc by rburchell@mastodon.social
2024-09-06T16:20:52Z
0 likes, 0 repeats
@jani cc @landley, who I know has very strong feelings about dependencies at build time
(DIR) Post #AlukcjDAsdOCWHjaS0 by landley@mstdn.jp
2024-09-06T23:45:57Z
0 likes, 0 repeats
@rburchell @jani I've been trying to defend the core. My multiple years removing perl dependencies from the build didn't get them out of the raid subsystem etc.Python is in an especially terrible dependency these days because it's developed a single magic implementation policed by its userbase and forcibly expired every few months:https://landley.net/notes-2024.html#09-04-2024No ruby/mruby, php/ph7 gcc/llvm/tinycc allowed, only "you must upgrade to the current version of Microsoft (tm) Word to read this file".