!UUYziobKGGxpovWyAN:nixos.org

Robotnix

246 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix75 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
27 Jan 2025
@atemu12:matrix.orgatemu12Yup09:33:11
@autra:trancart.euautraThe rest of the tree is somewhere else? In cachix?09:33:35
@atemu12:matrix.orgatemu12The rest of what tree?09:33:52
@atemu12:matrix.orgatemu12The cachix contains nothing of interest FWIW09:36:44
@autra:trancart.euautraok I'm just suprised by what you said (new devices only need the device dir update), because my experience with android build is that you need the whole lineage os tree to build, but I guess I'll see all these downloads later ;-)09:53:01
@atemu12:matrix.orgatemu12The updater really is just thatz an updater09:53:53
@atemu12:matrix.orgatemu12 * 09:54:00
@atemu12:matrix.orgatemu12The sources for the build are fetched via nix09:54:18
@atemu12:matrix.orgatemu12The updaters just generate lockfiles09:54:34
@autra:trancart.euautra ok thanks! So I've launched the nix-build comamnd and my config evaluates correctly now, and indeed, it seems that I'm now downloading the entire internet ;-) 10:06:24
@atemu12:matrix.orgatemu12Yeah it's a ~70GiB download10:34:07
@atemu12:matrix.orgatemu12That's much preferable to the couple hundred gigs you'd normally have to download though10:34:48
@atemu12:matrix.orgatemu12Make sure you've set the correct androidVersion10:34:58
@autra:trancart.euautrayep, currently on 14 just to check if everything is ok, then I'll switch to 1510:38:48
@autra:trancart.euautraouch I thought that with 32Gb of ram, it'll be enough to build, but no :-(11:11:00
@atemu12:matrix.orgatemu12You need 3-4GiB per thread15:45:01
@atemu12:matrix.orgatemu12And your tmpdir must be on large enough persistent storage15:45:30
@atemu12:matrix.orgatemu12I don't know the exact size off the top of my head for new versions of AOSP but it should be around 30-50GiB15:46:29
@atemu12:matrix.orgatemu12 * 15:47:01

Show newer messages


Back to Room ListRoom Version: 6