| 8 Oct 2023 |
Yuka (she/her) | this has one big issue | 08:49:37 |
Yuka (she/her) | the list of supported abis keeps changing | 08:49:55 |
Yuka (she/her) | by now the linked configure.ac also lists various loongson and wasm abis | 08:50:34 |
Minijackson | hmmm | 08:55:32 |
Minijackson | the configure.ac seems to have changed quite a bit… | 08:55:43 |
Minijackson | I don't know much about Python's build system, so I don't know how we would add wasm support | 08:57:47 |
Minijackson | does loongson hardware not use a GNU abi? | 08:58:29 |
Alyssa Ross | there's an old world / new world distinction | 08:59:08 |
Alyssa Ross | https://wiki.gentoo.org/wiki/Project:LoongArch | 08:59:25 |
Minijackson | In reply to @qyliss:fairydust.space https://wiki.gentoo.org/wiki/Project:LoongArch I see loongarch64-unknown-linux-gnu or loongarch64-unknown-linux-gnuf64, but no mention of that tuple in cpython's configure.ac on the main branch | 09:01:02 |
Yuka (she/her) | https://github.com/python/cpython/blob/v3.12.0/configure.ac#L978 | 10:16:49 |
Yuka (she/her) | there it has gnusf and gnuf32 | 10:17:00 |
Yuka (she/her) | starting from python 3.12 | 10:22:41 |
Yuka (she/her) | so my point is not what is or is not currently in the configure script, but that the configure script will change over versions, and the cpython/default.nix is used for all versions of python | 10:23:09 |
Yuka (she/her) | but I'm somewhat for inverting the logic to only rewrite the pythonAbiName for specific abis and otherwise using the nixpkgs parsed.abi.name | 10:24:03 |
Yuka (she/her) | https://github.com/NixOS/nixpkgs/pull/259752 | 11:54:13 |
| 9 Oct 2023 |
Alyssa Ross | hmm, there's no bootstrap tarball for Rust 1.72.1 mips64el-unknown-linux-gnuabi64 | 11:44:12 |
Alyssa Ross | that's not good | 11:44:14 |
Alyssa Ross | because it blocks updating Rust on all platforms | 11:44:25 |
@lotte:chir.rs | you could build rust 1.72.1 with 1.72.0 i think i have some derivations for building rust with other rusts somewhere | 11:46:47 |
Alyssa Ross | ideally we'd bootstrap from mrustc, but people don't like it | 11:48:32 |
Alyssa Ross | current policy is not to keep old versions of rust around | 11:48:42 |
Alyssa Ross | aha https://github.com/rust-lang/rust/pull/113274 | 11:51:48 |
@lotte:chir.rs | In reply to @qyliss:fairydust.space ideally we'd bootstrap from mrustc, but people don't like it yeah it makes the bootstrap path extremely unpleasant | 11:52:59 |
@lotte:chir.rs | tried it out and it took around a day to get it built on just x86 with two pcs which are decently powerful | 11:53:46 |
@lotte:chir.rs | tried it out and it took around a day to get rust 1.69 built on just x86 with two pcs which are decently powerful | 11:54:21 |
@lotte:chir.rs | imagine that times however often nixos has a mass rebuild lol | 11:54:51 |
@lotte:chir.rs | i think it might be better with cargo2nix since you could relatively easily run that on a server farm | 11:55:34 |
@lotte:chir.rs | vs standard rust bootstrap which can only run on one system period | 11:56:11 |
raitobezarius | I would not be shocked to use mrustc for mips though | 12:06:55 |