| 9 Mar 2025 |
K900 | Then drop --cores | 17:03:19 |
K900 | Then you can think about swap | 17:03:23 |
Andrew | default is to not use tmpfs | 17:03:52 |
Andrew | does show do something? | 17:04:46 |
loudgolem | lists active swap files and partitions | 17:05:15 |
Andrew | I thought swapon does that | 17:05:53 |
loudgolem | swapon [options] [<spec>]
Enable devices and files for paging and swapping.
| 17:06:14 |
loudgolem | * swapon [options] [<spec>]
Enable devices and files for paging and swapping.
--show[=<columns>] display summary in definable table
| 17:06:28 |
loudgolem | this is getting offtopic, so feel free to dm me | 17:07:14 |
loudgolem | this is very important as well Andrew along with -j (jobs) | 17:09:36 |
Andrew | last time when it was due to LTO it didn't help | 17:11:05 |
Andrew | what did help is to disable LTO attribute | 17:11:27 |
Andrew | though this time I didn't even reach the last step, so I don't know if the LTO is used for building LLVM. | 17:14:29 |
Andrew | So, as I was saying, it doesn't do anything, unless I specify the columns, which I don't. | 17:25:30 |
Andrew |  Download image.png | 17:25:37 |
Andrew | But it did work at the last moment, which is pretty cool to see. | 17:25:55 |
loudgolem | swapspace manages your storage <-> swap
swapon --show is just to monitor the usage | 17:26:28 |
Andrew | I'm talking about the use of --show argument. | 17:26:58 |
loudgolem | oh okay, it works without show, didn't know that | 17:27:22 |
loudgolem | I have this aliased as a single mem, so I don't remember how I even know about that | 17:32:35 |
Andrew |  Download image.png | 18:13:06 |
Andrew | I tried pkgsCross.wasi32.buildPackages.libunwind and libunwind and it didn't help. | 18:22:23 |
Andrew | but at least llvm compiled successfully. In one hour. | 18:22:40 |
Andrew | It should install that automatically anyway, otherwise what's the point in reproducibility. | 18:23:20 |
loudgolem | # nixos-unstable
$ git rev-parse HEAD
36fd87baa9083f34f7f5027900b62ee6d09b1f2f
$ nom build -f default.nix pkgsCross.wasi32.buildPackages.libunwind --print-out-paths
Finished at 23:57:40 after 0s
/nix/store/c3m2ib9lpw24r3amxlfqak6bh515kdnq-libunwind-1.8.1
| 18:28:25 |
loudgolem | maybe it was broken at some point | 18:28:37 |
loudgolem | if you are using flakes try a nix flake update nixpkgs | 18:29:05 |
Andrew | I updated it just one day ago | 18:29:21 |
Andrew | it says it's from 2025-03-06 | 18:30:19 |
Andrew | you need to build the pkgsCross.wasi32.buildPackages.rustc | 18:37:08 |