!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
129 Servers

Load older messages


SenderMessageTime
20 Oct 2021
@sternenseemann:systemli.orgsterniI just was trying to reign myself in21:24:45
@sternenseemann:systemli.orgsterniI should make this overly complicated for the sake of correctness21:24:55
@sternenseemann:systemli.orgsterni Alyssa Ross: okay so armv7a-linux-androideabi is possible in theory 21:31:33
@sternenseemann:systemli.orgsterniconfigure.ac only strips version numbers from the kernel and gnu/musl suffixes it seems21:32:03
@sternenseemann:systemli.orgsterniprobably the best solution would be to be more lenient with the system tuple21:33:40
@sternenseemann:systemli.orgsterniand use different flags for triple / tuple21:33:55
@qyliss:fairydust.spaceAlyssa Rossi assumed different flags was out of the question21:39:52
@qyliss:fairydust.spaceAlyssa Rossotherwise i can't imagine why you'd do it this way21:39:58
@qyliss:fairydust.spaceAlyssa Rosshow did this get to be LLVM anyway?21:40:18
@sternenseemann:systemli.orgsternicabal uses LLVM triples more or less21:40:53
@sternenseemann:systemli.orgsterni

This is the flag we have

  --system ARG             host system (in either short Nix format or full LLVM
                           style) to use when evaluating the Cabal file
                           (default: x86_64-linux)
21:41:16
@sternenseemann:systemli.orgsterniwhatever I do is gonna be a breaking change, but potentially only in edge cases21:42:27
@sternenseemann:systemli.orgsterniI could fully embrace it and redo it, but it'd be annoying for users I suppose21:42:42
@sternenseemann:systemli.orgsternihmm seems like cabal-install/Cabal isn't dealing with triples/tuples very much21:48:58
@sternenseemann:systemli.orgsterniGHC may be using llvm triples21:49:05
@sternenseemann:systemli.orgsterniCabal is very weird about this, e. g. it only has an interface for parsing triples, but will pretty print platforms as tuples21:49:38
@sternenseemann:systemli.orgsterniis darwin or osx canonical for LLVM triples?21:51:22
21 Oct 2021
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: do you know where we map GNU triples to LLVM triples?09:38:37
@qyliss:fairydust.spaceAlyssa RossGNU and LLVM disagree about whether it should be wasm32-unknown-none or wasm32-unknown-unknown09:42:29
@sternenseemann:systemli.orgsternino, I'm not aware actually10:14:27
@sternenseemann:systemli.orgsterniI may have to dive into this business now; I haven't dived into that topic to much so far, so I was kind of hoping for you answering here bc you are a lot more knowledgeable than me here10:15:12
22 Oct 2021
@sternenseemann:systemli.orgsterni trofi: btw https://github.com/NixOS/nixpkgs/pull/87909 09:09:19
25 Oct 2021
@sternenseemann:systemli.orgsterniI think this came up here: https://github.com/NixOS/nixpkgs/issues/14290122:06:59
26 Oct 2021
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:16:31
@mjolnir:nixos.orgNixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot.02:00:07
@mjolnir:nixos.orgNixOS Moderation Bot set a profile picture.02:00:25
@mjolnir:nixos.orgNixOS Moderation Bot changed their profile picture.02:23:38
@mjolnir:nixos.orgNixOS Moderation Bot changed their profile picture.02:33:08
27 Oct 2021
@sternenseemann:systemli.orgsterni Alyssa Ross: another “fun” fact: nixpkgs passes hostPlatform.config (a GNU triple) to the flag which at most understands LLVM triples + some hacks for certain things 16:20:43
@sternenseemann:systemli.orgsterni:|16:20:44

Show newer messages


Back to Room ListRoom Version: 6