Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: CNK on May 02, 2026, 10:16:16 AM

Title: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
Post by: CNK on May 02, 2026, 10:16:16 AM
In TC17 x86_64, mesa-dev.tcz.dep (http://tinycorelinux.net/17.x/x86_64/tcz/mesa-dev.tcz.dep) contains "llvm19-dev.tcz" but this extension is no longer available (replaced by "llvm22-dev.tcz").
Title: Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
Post by: Juanito 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.
Title: Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
Post by: CNK 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...
Title: Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
Post by: CNK 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.
Title: Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
Post by: Juanito on May 03, 2026, 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?
Title: Re: mesa-dev.tcz Depends on Missing llvm19-dev.tcz
Post by: CNK on May 03, 2026, 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 (https://bbs.archlinux.org/viewtopic.php?pid=2246922#p2246922). 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 (https://www.phoronix.com/news/Mesa-Considering-Amber-2) soon. People using hardware as old as mine would then have to use software rendering if those extra drivers aren't built.