| 29 Sep 2023 |
fgaz | * Try asking in #riscv:nixos.org. I think the vf2 has the best support at the moment | 07:36:18 |
| Lotte (it/its)/Cinny (she/her) θΔ& changed their profile picture. | 17:15:30 |
| 3 Oct 2023 |
| pbsds changed their profile picture. | 21:04:53 |
| 4 Oct 2023 |
| pbsds changed their profile picture. | 22:20:41 |
| 6 Oct 2023 |
| Alex S changed their display name from Alex S to ultra (NixOS integrated with PackageKit wen). | 16:30:06 |
| 8 Oct 2023 |
Yuka (she/her) | pythonAbiName =
# python's build doesn't support every gnu<extension>, and doesn't
# differentiate between musl and glibc, so we list those supported in
# here:
# https://github.com/python/cpython/blob/e488e300f5c01289c10906c2e53a8e43d6de32d8/configure.ac#L724
# Note: this is an approximation, as it doesn't take into account the CPU
# family, or the nixpkgs abi naming conventions.
if elem gnuAbiName [
"gnux32"
"gnueabihf"
"gnueabi"
"gnuabin32"
"gnuabi64"
"gnuspe"
]
then gnuAbiName
else "gnu";
| 08:48:37 |
Yuka (she/her) | Minijackson | 08:49:27 |
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 (it/its)/Cinny (she/her) θΔ& | 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 |