This repository contains the boost library with bazel build rules. We recommend using this repository by adding the following rules in your WORKSPACE file: git_repository( name = "org_boost_boost", commit = "...", remote = "https://github.com/iceboy233/boost.git", ) load("@org_boost_boost//:boost_deps.bzl", "boost_deps") boost_deps() And then you can reference to individual boost libraries like: cc_binary( # ... deps = [ # ... "@org_boost_boost//:asio", ], ) Pull requests to add more boost libraries are welcome. Currently pinned to boost-1.79.0. Tested under linux and Windows.