19 Aug 2021 |
| Yuka (she/her) changed their display name from Yuka (she/her) to Yuka(she/her). | 07:13:34 |
| Yuka (she/her) changed their display name from Yuka(she/her) to Yuka (she/her). | 07:14:15 |
Jamie | hahaha | 07:15:09 |
Jamie | that’s really cool | 07:15:24 |
Jamie | got any docs about how it’s implemented? | 07:15:37 |
Mic92 | Jamie: we will submit a paper in less than two months | 07:38:07 |
Alyssa Ross | oh wow that's interesting | 09:43:05 |
Mic92 | qyliss: have you seen https://github.com/astro/microvm.nix already? | 10:42:31 |
Mic92 | quite useful to evaluate a wider range of hypervisors | 10:42:48 |
Alyssa Ross | oh that's neat | 10:45:20 |
Alyssa Ross | I just have the command line arguments for qemu, crosvm, and cloud-hypervisor burned into my brain | 10:45:35 |
Mic92 | Is crosvm still your favorite? | 10:45:59 |
Alyssa Ross | cloud-hypervisor is my favourite now | 10:46:09 |
Sandro | In reply to @mic92:nixos.dev qyliss: have you seen https://github.com/astro/microvm.nix already? Astro has some problems with the kernel where I couldn't help him. Did he ask you already? | 11:08:15 |
Mic92 | no | 11:08:34 |
Mic92 | we chatted a bit yesterday so | 11:08:58 |
Sandro | ah okay. I think it was something with network throughput in the microvm kernel or something. Can't remember | 11:13:13 |
Mic92 | If one wants to get decent throughput with VMs than SR-IOV is the way to go | 11:16:29 |
Mic92 | Used 10Gbit/s/40Gbit/s NICs became quite affordable now and support this | 11:17:41 |
symphorien | I'm trying to cross compile ocaml with host=build=x86 and target=musl (for pkgsStatic) and when trying to link the stdlib ocaml tries to use the prefixed compiler for target, which is not in $PATH | 18:56:25 |
symphorien | how do I add it to the $PATH ? | 18:56:38 |
sterni (he/him) | My intuition would be that you need pkgsBuildTarget.targetPackages.stdenv.cc | 18:57:55 |
symphorien | do I add it to the path with export or in buildInputs or ??? | 18:58:49 |
sterni (he/him) | would belong in nativeBuildInputs | 18:59:17 |
symphorien | ah right, for $PATH | 18:59:33 |
sterni (he/him) | I'd recommend though that you try to make a ocaml cross compiler for something which isn't the same arch as you are building on first | 18:59:59 |
sterni (he/him) | because implementing cross compilation with pkgsStatic lets you get away with things you wouldn't in that case | 19:00:28 |
sterni (he/him) | for example you can run something from the target platform in the case of pkgsStatic | 19:00:47 |
symphorien | well for now I don't even get away with pkgsStatic so... | 19:01:02 |
symphorien | why the targetPackages in pkgsBuildTarget.targetPackages.stdenv.cc ? | 19:01:33 |