!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

578 Members
129 Servers

Load older messages


SenderMessageTime
22 Nov 2021
@alexfmpe:matrix.orgalexfmpe"eventually cross compiling" it is18:15:10
@smbarber:matrix.orgsmbarber left the room.20:14:08
23 Nov 2021
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) left the room.00:55:08
@prrlvr:matrix.orgPierre-Olivier Rey joined the room.12:51:45
@prrlvr:matrix.orgPierre-Olivier ReyHello, I'm just beginning with nix for a school project and I have i'm trouble to have a devShell with clang able to compile with -m32 (we generate code using llvm backend) ; do you know how to do it in a flake? Sorry if the question seems a bit odd :')12:54:05
@symphorien:xlumurb.eusymphorienyou should probably use pkgs.pkgsi686Linux.clangStdenv12:54:53
@symphorien:xlumurb.eusymphorien see this for more context about using a different stdenv: https://nixos.wiki/wiki/Using_Clang_instead_of_GCC#With_nix-shell 12:55:15
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: there's nothing left to do on https://github.com/NixOS/nixpkgs/pull/144749, right?20:11:35
@sternenseemann:systemli.orgsterni Alyssa Ross: at least nothing that's obvious to me! 21:08:15
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: do you think it's good to merge?21:09:21
@sternenseemann:systemli.orgsterniI'm inclined to think so, yeah. If the hot path of normal dynamic stdenv still works, this should be a net improvement21:22:03
@sternenseemann:systemli.orgsternigiven that this worked without the search path before I guess it's not super risky21:22:16
@sternenseemann:systemli.orgsternido you think darwin has a freak chance of causing trouble?21:22:29
@sternenseemann:systemli.orgsternias a side note, I'm interested to see whether this resolves the trouble I ran into for https://github.com/NixOS/nixpkgs/pull/140271 with static test compilation21:22:58
@qyliss:fairydust.spaceAlyssa RossI dunno, I don't really have any instinct for Darwin21:23:57
@qyliss:fairydust.spaceAlyssa RossI have a whole bunch of invasive static fixes on https://spectrum-os.org/git/nixpkgs/log/?h=rootfs if you want to play with that21:24:57
@sternenseemann:systemli.orgsterni Alyssa Ross: intrigued by src = builtins.fetchGit /home/src/foot 21:28:18
@sternenseemann:systemli.orgsterniat least this means dnkl broke something and not me21:28:47
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: I'm actually adding a feature there22:11:41
@qyliss:fairydust.spaceAlyssa Rossopening a terminal for an existing pty22:11:58
@qyliss:fairydust.spaceAlyssa Ross(useful for VM consoles)22:12:02
@sternenseemann:systemli.orgsternioh, I see, neat22:12:15
@qyliss:fairydust.spaceAlyssa Rossnot sure if upstream will be interested, but I don't mind if not22:13:47
@qyliss:fairydust.spaceAlyssa Ross I just needed something that could do it, and foot's code looked nice to hack on 22:14:01
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event22:15:34
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: although while I have you I am curious, doesn't pgo mean non-reproducibility?22:15:47
@sternenseemann:systemli.orgsterni Alyssa Ross: it does not actually and it is a common misconception I have discovered 22:16:08
@sternenseemann:systemli.orgsterniPGO profiling data only is like code path analysis, so if the analyzed code is deterministic and you feed it the same input every time it'll come up with the same profiling data22:16:55
@sternenseemann:systemli.orgsterniit is also not machine dependent as far as I can tell (not sure if instruction sets are relevant though?)22:17:22
@sternenseemann:systemli.orgsternifor foot PGO I made a patch which allowed seeding the input data generation with a fixed start value22:17:48

Show newer messages


Back to Room ListRoom Version: 6