!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

336 Members
103 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Oct 2023
@yuka:yuka.dev@yuka:yuka.dev
    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:yuka.dev@yuka:yuka.dev Minijackson 08:49:27
@yuka:yuka.dev@yuka:yuka.devthis has one big issue08:49:37
@yuka:yuka.dev@yuka:yuka.devthe list of supported abis keeps changing08:49:55
@yuka:yuka.dev@yuka:yuka.devby 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.dev@yuka:yuka.devhttps://github.com/python/cpython/blob/v3.12.0/configure.ac#L97810:16:49

Show newer messages


Back to Room ListRoom Version: 6