| 13 Aug 2025 |
Grimmauld (any/all) | dunno, adding a static build of that to then drop all the runtime lib usage or something dumb like that? | 17:14:42 |
K900 | We'll have plasma-keyboard hopefully in 6.5 | 17:15:05 |
emily | so I think it's like | 17:15:13 |
emily | a five line LLVM patch to make static libs in dev work probably | 17:15:25 |
emily | K900: if I patch can you big computer | 17:15:35 |
emily | and see what happens to Mesa's closure | 17:15:41 |
K900 | Yes | 17:15:41 |
emily | do you know how much llvmpipe actually needs of LLVM? | 17:21:58 |
emily | I assume it could use a single-target LLVM e.g. | 17:22:04 |
Grimmauld (any/all) | emily i found the double-python mystery! https://github.com/NixOS/nixpkgs/blob/005433b926e16227259a1843015b5b2b7f7d1fc3/pkgs/servers/samba/4.x.nix#L70-L73 turns out samba is part of the packages in our iso (maybe even part of our defaultPackages?), and it overrides python.-.- | 17:22:16 |
emily | honestly I wonder if it doesn't make more sense to statically link LLVM into Mesa? | 17:22:22 |
emily | to tree-shake it | 17:22:25 |
Grimmauld (any/all) | https://github.com/NixOS/nixpkgs/commit/9b5cfd41d86b1bbc8c9b7406760154b4832ebb76 the libxcrypt pin happened two years ago... it might be fine now? I am not a samba person | 17:23:47 |
Grimmauld (any/all) | wtf there is samba 4.22.3 now, why are we so behind?? | 17:25:29 |
K900 | It's not just llvmpipe | 17:26:40 |
K900 | It's also radeonsi | 17:26:47 |
emily | so it needs the host platform and GCN I guess? | 17:27:13 |
K900 | That won't do much | 17:27:57 |
K900 | Most of LLVM is passes | 17:28:00 |
emily | uh so how come Mesa pulls in libclang but I don't see it in the closure | 17:28:28 |
K900 | Only opencl output | 17:28:35 |
emily | ah | 17:28:40 |
ElvishJerricco | I believe you can with grub or maybe limine but pretty sure not with syslinux or systemd-boot | 17:30:11 |
ElvishJerricco | might have to check for systemd-boot; it adopted the linux initrd efi protocol a year or two ago and might be able to do it; I just doubt they bothered | 17:30:42 |
ElvishJerricco | (is the initrd really that much of a space cost in the iso though, that deduplicating it would help much?) | 17:31:11 |
K900 | Probably yes because firmware | 17:31:24 |
ElvishJerricco | do we put much firmware in the initrd in the iso? | 17:31:39 |
ElvishJerricco | what am I saying I can just check these things | 17:31:45 |
ElvishJerricco | Ok, 33M | 17:34:13 |
ElvishJerricco | And realistically the only thing that ought to differ between them is the kernel modules | 17:34:23 |