Skip to content

Latest commit

 

History

History
50 lines (44 loc) · 2.64 KB

README.md

File metadata and controls

50 lines (44 loc) · 2.64 KB

This repository houses the example code to the talk "Comparing Buck2 and Bazel" at Build Meetup 2023. These examples assume that you are running on a Linux x86_64 platform with all requirements installed (build-essential, clang, rustup/cargo, ghcup/ghc, zstd, bazel, buck2, and all rules_haskell dependencies).

The code for each section is held in its own branch:

Each branch includes a test.sh script listing the relevant commands to test the example.

Additionally the branch 00-bazel-worker holds a patched version of the Bazel code base that includes a remote worker compatible with Buck2 for testing. The branch includes a script remote-worker.sh that builds and starts the remote worker.

You can use the included setup.py to checkout all the branches into git worktrees and optionally install a distrobox with all requirements installed, assuming that you have distrobox installed.