!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

330 Members
105 Servers

Load older messages


SenderMessageTime
8 Oct 2023
@yuka:yuka.devYuka (she/her)this has one big issue08:49:37
@yuka:yuka.devYuka (she/her)the list of supported abis keeps changing08:49:55
@yuka:yuka.devYuka (she/her)by now the linked configure.ac also lists various loongson and wasm abis08:50:34
@Minijackson:matrix.orgMinijacksonhmmm08:55:32
@Minijackson:matrix.orgMinijackson the configure.ac seems to have changed quite a bit… 08:55:43
@Minijackson:matrix.orgMinijacksonI don't know much about Python's build system, so I don't know how we would add wasm support08:57:47
@Minijackson:matrix.orgMinijacksondoes loongson hardware not use a GNU abi?08:58:29
@qyliss:fairydust.spaceAlyssa Rossthere's an old world / new world distinction08:59:08
@qyliss:fairydust.spaceAlyssa Rosshttps://wiki.gentoo.org/wiki/Project:LoongArch08:59:25
@Minijackson:matrix.orgMinijackson
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:yuka.devYuka (she/her)https://github.com/python/cpython/blob/v3.12.0/configure.ac#L97810:16:49
@yuka:yuka.devYuka (she/her)there it has gnusf and gnuf3210:17:00
@yuka:yuka.devYuka (she/her)starting from python 3.1210:22:41
@yuka:yuka.devYuka (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 python10:23:09
@yuka:yuka.devYuka (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.name10:24:03
@yuka:yuka.devYuka (she/her)https://github.com/NixOS/nixpkgs/pull/25975211:54:13
9 Oct 2023
@qyliss:fairydust.spaceAlyssa Rosshmm, there's no bootstrap tarball for Rust 1.72.1 mips64el-unknown-linux-gnuabi6411:44:12
@qyliss:fairydust.spaceAlyssa Rossthat's not good11:44:14
@qyliss:fairydust.spaceAlyssa Rossbecause it blocks updating Rust on all platforms11:44:25
@lotte:chir.rs@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
@qyliss:fairydust.spaceAlyssa Rossideally we'd bootstrap from mrustc, but people don't like it11:48:32
@qyliss:fairydust.spaceAlyssa Rosscurrent policy is not to keep old versions of rust around11:48:42
@qyliss:fairydust.spaceAlyssa Rossaha https://github.com/rust-lang/rust/pull/11327411:51:48
@lotte:chir.rs@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@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@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@lotte:chir.rs imagine that times however often nixos has a mass rebuild lol 11:54:51
@lotte:chir.rs@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@lotte:chir.rs vs standard rust bootstrap which can only run on one system period 11:56:11
@raitobezarius:matrix.orgraitobezariusI would not be shocked to use mrustc for mips though12:06:55

Show newer messages


Back to Room ListRoom Version: 6