News for hackers. Stuff that matters.
Re:Building Uber’s Go Monorepo with Bazel by jeffbee on Thursday May 14, 2020 @08:21PM (#23187443)
The best way to get your hermetic builds in order is to _always_ use remote execution and ensure that your executor nodes don't have compilers and headers just laying around. Force yourself to get the toolchain under bazel's control.

I think the reason the public finds this so mysterious is the documentation for CROSSTOOL is terrible, and virtually all of the people who learned how to use blaze at Google go out in the industry with no understanding at all of CROSSTOOL, because there's a small dedicated team who maintain it.

Re:Building Uber’s Go Monorepo with Bazel by thundergolfer on Thursday May 14, 2020 @08:55PM (#23187640)
Does your company use remote execution across the board with Bazel? How much effort was it?
Re:Building Uber’s Go Monorepo with Bazel by jeffbee on Thursday May 14, 2020 @08:59PM (#23187670)
I work for no man, as a character in a movie once said. But I recently went through this exercise just to make sure I could do it, and it's easy enough to put a bare-bones executor node in the cloud and use it temporarily. You can even get ARM nodes, to make sure you aren't implying the target architecture.

Doing it on a company scale is probably harder. Last place I worked used bazel but did not bother with remote.