| 17 Jan 2026 |
Randy Eckenrode | * swiftc, swift-driver, the stdlib, swift-corelibs-xctest, swift-testing, (on Linux), swift-corelibs-foundation, etc. | 18:43:49 |
emily | right. unfortunate that that will involve targetPackages for a multi-target compiler but maybe we can figure something out with upstream one day | 18:44:14 |
emily | how does their whole cross SDK stuff work upstream? | 18:44:31 |
Randy Eckenrode | You specify --sdk <path to SDK>. | 18:45:15 |
Randy Eckenrode | AFAIK | 18:45:16 |
Randy Eckenrode | There are static Linux SDKs for various distros. | 18:45:27 |
Randy Eckenrode | * | 18:45:48 |
Randy Eckenrode | Supporting cross-compilation is a non-goal currently for my Swift work. It doesn’t currently work. Having the stdlib separate at least moves us in the right direction. | 18:47:13 |
Randy Eckenrode | Right now I’m just looking for spliced packages in things that care about that. | 18:48:25 |
Randy Eckenrode | https://github.com/reckenrode/nixpkgs/blob/139e88d5b9ed888bc534afcb981c4d79698fecb3/pkgs/by-name/sw/swiftPackages/by-name/sw/swiftc/package.nix#L61-L97 | 18:49:43 |
Randy Eckenrode | If cross just happens to work, yay. I doubt it will, though we’re closer than we are currently. | 18:50:26 |
emily | I was wondering whether we can avoid this "looking at its own location" by just putting that stuff in the SDK. | 18:51:47 |
emily | then the SDK is a build input, a la apple-sdk. the compiler could propagate the ones for the host and target platforms | 18:52:45 |
Randy Eckenrode | We would have to vend a special SDK on Darwin that adds the Swift libs the apple-sdk. | 19:30:39 |
Randy Eckenrode | Maybe we can do that, but it can be done in a follow up. | 19:30:56 |
emily | ah, it expects the other macOS SDK stuff mixed in with the Swift stuff? fun | 20:39:11 |
Randy Eckenrode | It maps SDKROOT to --sdk automatically. | 20:41:00 |
emily | gotcha | 20:43:05 |
Ihar Hrachyshka | compiler-rt build fix for x86_64-darwin is confirmed: https://github.com/NixOS/nixpkgs/pull/480889 | 20:43:09 |
| 19 May 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:22:35 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:22:35 |
| [0x4A6F] joined the room. | 19:23:06 |
| nazarii joined the room. | 19:24:29 |
| casey © joined the room. | 19:27:39 |
| ElvishJerricco joined the room. | 19:38:47 |
| andi- joined the room. | 19:39:40 |
| prusnak joined the room. | 19:46:16 |
| Server Stats Discoverer (traveler bot) joined the room. | 19:50:54 |
| Mic92 joined the room. | 19:51:07 |
| Matrix Traveler (bot) joined the room. | 20:03:59 |