| 10 Apr 2025 |
Alyssa Ross | Read that as 2128 cores :D | 19:23:02 |
Tristan Ross | Lol | 19:25:02 |
@trofi:matrix.org | how many x86 cores it is? :) | 21:13:57 |
Tristan Ross | 0 | 21:16:49 |
Tristan Ross | But 128 cores of pure ARM power | 21:17:00 |
@trofi:matrix.org | yeah, it was a silly joke about performance equivalence on typical workloads | 21:18:03 |
Tristan Ross | Oh | 21:21:16 |
| 11 Apr 2025 |
Tristan Ross | Randy Eckenrode in #staging:nixos.org (https://matrix.to/#/!UNVBThoJtlIiVwiDjU:nixos.org/$GOAB-0pj06IwTEidSgN3biXYZn_r9yZTViHoL6Y2Yns?via=nixos.org&via=matrix.org&via=tchncs.de)
You can’t compile the stage 1 LLVM with GCC then rebuild it again in a later stage with the stage 1 LLVM? (Are there complications with switching C++ ABIs?)
This is where my idea of splitting out the bootstrap tarballs would be useful. We could compile stage 1 LLVM from GCC but I feel like it may be a better solution to use LLVM prebuilt to build LLVM. Plus it'll likely be better on the eval since we wouldn't likely be needing odd exceptions or overrides.
| 16:37:10 |
Tristan Ross | There would be the base tarball with your general tools, then your compiler tarball. | 16:37:43 |
Tristan Ross | The base should be enough to set up a CC wrapper to point things to the right compiler. | 16:38:09 |
emily | the LLVM prebuilt would itself be built from GCC though, right? | 18:06:03 |
emily | I don't think it makes sense to have a proliferation of bootstrap tools especially when they shouldn't affect the end result | 18:06:15 |
| 15 Apr 2025 |
Tristan Ross | I'm guessing we could consider https://github.com/NixOS/nixpkgs/issues/307600 solved once we add documentation on how to add new libc's? The way to do it appears to be simple enough that I don't see how we could simplify it. | 05:57:58 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I want to provide a bootstrap tarball for loongarch64-unknown-linux-gnu, do I have to provide anything to prove the tarball is clean? | 07:45:37 |
K900 | Honestly, I don't think we should ever allow that | 07:46:38 |
K900 | The bootstrap tools should be built on clean infra | 07:46:50 |
K900 | We can cross-compile them though | 07:46:54 |
Alyssa Ross | That's the usual process, yeah | 07:47:01 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So I can request infra team to generate a tarball for me? | 07:47:50 |
Alyssa Ross | Not quite | 07:47:59 |
Alyssa Ross | You add a Hydra job to build it | 07:48:06 |
Alyssa Ross | If there isn't already one | 07:48:11 |
K900 | There's no well established process here | 07:48:31 |
K900 | Adding new targets is not exactly common | 07:48:36 |
Alyssa Ross | There kind of is | 07:48:37 |
Alyssa Ross | Let me see if I can find an example | 07:48:43 |
K900 | Well there is some process | 07:48:45 |
K900 | But I would not call it well established | 07:49:28 |
Alyssa Ross | First step is to add your platform to pkgs/stdenv/linux/make-bootstrap-tolos-cross.nix | 07:57:06 |
Alyssa Ross | * | 07:57:19 |