Cormac Relf

Results 309 comments of Cormac Relf

Not that I know of. You can just use hosted RE services. I only do LRE because the internet connection I have is not up to the task. The hard...

It works with a [single file gist](https://gist.github.com/cormacrelf/f7ec39ae8a1003dddf61953b80e06eb3). This is with buck2 2024-06-15, I think. Probably the biggest difference between this and the buck2 repo is that it doesn't have a...

If you must build from source, I recommend building it with Nix. You can also use the buck2 that's on nixpkgs if you are fine with whatever version it happens...

Also cargo-based builds of buck2 are meant to be faster because they use jemalloc. Nix+crane does build with cargo.

You should think of BXL a bit like a thing that writes a temporary .bzl + BUCK file pair, and immediately executes a build on it. There is no such...

It's not buck within buck. `buck2 run :some_script` will simply fork/exec the script, no different from any other wrapper. Buck within buck is when you have an `actions.run(buck, ...)`.

Hm, maybe the max open files is set too high in my config. What happens if you try to schedule more work than fits in the max open files limit?...

Yeah, that fixed it. I think this means max_open_files should absolutely never be more than 800 with the current 10x-ing thread limit behaviour. Not that I actually read the docs...

Hmmm... it did fix this problem, but now nativelink seems to be running 1-2 actions at a time. This started happening pretty late in a big build, initially it was...

Actually, late in the build graph you have things with many dependencies, and those dep lists are just long lists of object files. Especially actions that are linking binaries and...