{"repo":"bazelment/trunk","free":true,"listed":false,"github":"https://github.com/bazelment/trunk","clone":"git clone https://github.com/bazelment/trunk.git","description":"Make bazel an out of box solution for C++/Java developers","language":"Python","stars":242,"topics":["bazel","grpc","folly","netty"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"trunk A collection of C++/Java opensource projects with BUILD files so they can be easily built with bazel. To try: Building with google/tcmalloc as the allocator additionally needs: Note that --config=tcmalloc is incompatible with //examples/asan:leak , which links gperftools' heap checker and so brings its own allocator. Building the folly stack additionally needs: Currently C++ projects can be only built on Linux x64 system. Prerequisites Bazel — the version in .bazelversion is what the tree is built and tested with; use bazelisk or run ./install-bazel.sh , which reads that file. A C++20 compiler (gcc = 11 or clang; gcc 13 is what this is tested with). Pass --config=clang to build with a downloaded clang release instead of the system compiler. python3-dev . protobuf builds its python runtime against the system python, so the interpreter headers have to be present: sudo apt-get install python3-dev . How dependencies are wired up Dependencies are materialized in the tree as git submodules under third party/ rather than being downloaded as opaque archives. Bazel 9 dropped WORKSPACE , so this is expressed in MODULE.bazel with local path override : every module listed with an override resolves to the checked out submodule, never to an archive from the Bazel Central Registry. Only rule sets and the leaf dependencies of the vendored modules still come from the registry. Projects that ship no Bazel build of their own (currently folly, fizz, wangle and proxygen) are pulled from a f","default_branch":null,"files":null,"tree":[],"storefront":"/r/bazelment","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bazelment/trunk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}