https://earthly.dev/blog/bazel-build/

  • Pros and cons
  • Works well for million+ LOC monorepos
  • Cost of migration
  • Varying quality of language support
    • Java : πŸ‘
    • C++ : πŸ‘
    • Python : πŸ‘Ž
    • Go : against the grain of go build πŸ‘Ž
    • Frontend : it’s the hardest 😱
  • Large migration (2 years! ) - tips

Intros

https://blogsystem5.substack.com/p/bazel-interview-at-software-engineering

Caching & remote build execution (RBE)

https://earthly.dev/blog/bazel-build-with-caching

  • Local cache
  • Remote cache
  • Setup
  • Remote execution

Remote build execution

https://bazel.build/remote/rbe

https://bazel.build/community/remote-execution-services

Java - from Maven to Bazel

Https://harness.io/blog/migrating-bazel-build-tool

  • how to structure migration : start from leaf packages (Maven for core while Bazel for more and more leaves )

Feature flags

https://pigweed.dev/docs/blog/02-bazel-feature-flags.html

How to

Queries and dependency trees

https://earthly.dev/blog/bazel-query/

Cross compilation

https://ltekieli.com/cross-compiling-with-bazel/

https://ltekieli.com/bazel-avr-toolchain-from-scratch-no_legacy_features/

See also