| 20 Oct 2021 |
sterni | whatever I do is gonna be a breaking change, but potentially only in edge cases | 21:42:27 |
sterni | I could fully embrace it and redo it, but it'd be annoying for users I suppose | 21:42:42 |
sterni | hmm seems like cabal-install/Cabal isn't dealing with triples/tuples very much | 21:48:58 |
sterni | GHC may be using llvm triples | 21:49:05 |
sterni | Cabal is very weird about this, e. g. it only has an interface for parsing triples, but will pretty print platforms as tuples | 21:49:38 |
sterni | is darwin or osx canonical for LLVM triples? | 21:51:22 |
| 21 Oct 2021 |
Alyssa Ross | sternenseemann: do you know where we map GNU triples to LLVM triples? | 09:38:37 |
Alyssa Ross | GNU and LLVM disagree about whether it should be wasm32-unknown-none or wasm32-unknown-unknown | 09:42:29 |
sterni | no, I'm not aware actually | 10:14:27 |
sterni | I 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 here | 10:15:12 |
| 22 Oct 2021 |
sterni | trofi: btw https://github.com/NixOS/nixpkgs/pull/87909 | 09:09:19 |
| 25 Oct 2021 |
sterni | I think this came up here: https://github.com/NixOS/nixpkgs/issues/142901 | 22:06:59 |
| 26 Oct 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:16:31 |
| NixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot. | 02:00:07 |
| NixOS Moderation Bot set a profile picture. | 02:00:25 |
| NixOS Moderation Bot changed their profile picture. | 02:23:38 |
| NixOS Moderation Bot changed their profile picture. | 02:33:08 |
| 27 Oct 2021 |
sterni | 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 |
sterni | :| | 16:20:44 |
sterni | the problem is that we kind of need LLVM compat here because that's all Cabal understands, seemingly | 16:21:18 |
trofi | I though Cabal uses GHC's notion of tuples which predates LLVM: https://gitlab.haskell.org/ghc/ghc/-/blob/master/m4/ghc_convert_cpu.m4#L3 (same for OS/VENDOR). | 20:03:45 |
trofi | Also https://github.com/haskell/cabal/issues/5887 comes to mind | 20:05:15 |
sterni | trofi: cabal can (attempt to) parse LLVM triples which was used in cabal | 21:38:10 |
sterni | it ignores the vendor part completely I think | 21:38:27 |
trofi | aha | 21:38:46 |
sterni | also the things GHC and Cabal understand are slightly different | 21:39:04 |
| 10 May 2022 |
| Piper McCorkle (they/them or she/her) changed their display name from Piper McCorkle (she/her or they/them) to Piper McCorkle (they/them or she/her). | 05:25:52 |
| 27 Oct 2021 |
sterni | hence the GHC_CONVERT_{OS,CPU} macros | 21:39:13 |
| 29 Oct 2021 |
sterni | John Ericson: any reason we are only building ghcHEAD in cross-trunk? I think this is the ghc version that works the worst atm | 10:31:22 |
sterni | would probably make more sense to use the default version? | 10:31:38 |