WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mesa-dev.tcz Depends on Missing llvm19-dev.tcz  (Read 107 times)

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 442
mesa-dev.tcz Depends on Missing llvm19-dev.tcz
« on: May 02, 2026, 10:16:16 AM »
In TC17 x86_64, mesa-dev.tcz.dep contains "llvm19-dev.tcz" but this extension is no longer available (replaced by "llvm22-dev.tcz").

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15559
Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
« Reply #1 on: May 02, 2026, 10:48:48 AM »
I've been wondering about the best way to do this for a while now.

What we don't want is for maintainers to use obsolete extensions to build new extensions, hence the removal of llvm19-dev, but I agree this breaks *dev extensions that rely on it until such point that they too are updated.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 442
Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
« Reply #2 on: May 02, 2026, 09:12:05 PM »
In effect that means extension builds that fail without llvm19-dev.tcz shouldn't be done at the moment, so perhaps it should be removed from mesa-dev.tcz.dep?

In my case it was pulled in by libwebp1-dev.tcz, but I don't think llvm19-dev.tcz will be needed for me to build the new version of Dillo with WebP support.

Anyway I have my own Mesa build without the LLVM dependency that I use, and before continuing I've been hacking the tce-install script (also tce-audit, and update-everything) to add support for the tcz-black.lst file that tce-update uses to block updating extensions matching the regular expressions there. At the moment tce-install keeps trying to replace my mesa.tcz (and mesa.tcz.dep, and replace or create mesa.tcz.md5.txt) when I try to download new extensions that depend on it like libwebp1-dev.tcz, and I've decided it's time for a permanent solution. Though at some point it's looking like I might have to really try and learn some AWK for that...

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 442
Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
« Reply #3 on: May 02, 2026, 10:06:36 PM »
By tce-install I mean tce-load. I keep making that mistake over and over for hours lately! Anyway I think I've got my hacky solution working now.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15559
Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
« Reply #4 on: Today at 04:11:02 AM »
Anyway I have my own Mesa build without the LLVM dependency that I use

I dropped the llvm dependency for mesa on piCore/piCore64 on the premise that, since all RPi have a gpu, software acceleration is not needed.

I'm not really sure that anybody uses software acceleration on Core/CorePure64, but I seem to recall that amd graphics require llvm?

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 442
Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
« Reply #5 on: Today at 07:45:15 AM »
I'm not really sure that anybody uses software acceleration on Core/CorePure64, but I seem to recall that amd graphics require llvm?

Yes the standard AMD drivers require LLVM though it might be possible to avoid it with newer hardware that supports Vulkan. For my build I just used the softpipe software renderer (the one that doesn't use LLVM). I don't care about hardware 3D acceleration for the software I use with Tiny Core.

By the way, the main Mesa project might move more older GPU drivers into their "Amber" branch soon. People using hardware as old as mine would then have to use software rendering if those extra drivers aren't built.