back to home

TraceMachina / nativelink

NativeLink is a Nix-powered, open source, high-performance build cache and remote execution server, compatible with Bazel, Soong, Pants, Buck2, Reclient, and other RE-compatible build systems. It offers drastically faster builds, reduced test flakiness, and support for specialized hardware.

View on GitHub
1,501 stars
210 forks
186 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing TraceMachina/nativelink in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/TraceMachina/nativelink)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

enter the shipstorm What's NativeLink? NativeLink is an efficient, high-performance build cache and remote execution system that accelerates software compilation and testing while reducing infrastructure costs. It optimizes build processes for projects of all sizes by intelligently caching build artifacts and distributing tasks across multiple machines. NativeLink is trusted in production environments to reduce costs and developer iteration times--handling over **one billion requests** per month for its customers, including large corporations such as **Samsung**. šŸ”‘ Key Features • **Advanced Build Cache**: • Stores and reuses results of previous build steps for unchanged components • Significantly reduces build times, especially for incremental changes • **Efficient Remote Execution**: • Distributes build and test tasks across a network of machines • Parallelizes workloads for faster completion • Utilizes remote resources to offload computational burden from local machines • Ensures consistency with a uniform, controlled build environment NativeLink seamlessly integrates with build tools that use the Remote Execution protocol, such as Bazel, Buck2, Goma, and Reclient. It supports Unix-based operating systems and Windows, ensuring broad compatibility across different development environments. šŸš€ Quickstart To start, you can deploy NativeLink as a Docker image (as shown below). The setups below are **production-grade** installations. See the contribution docs for instructions on how to build from source with Bazel, Cargo, and Nix. You can find a few example deployments in the Docs. šŸ“¦ Prebuilt images Fast to spin up, but currently limited to systems. See the container registry for all image tags and the contribution docs for how to build the images yourself. **Linux x86_64** **Windows x86_64** ā„ļø Raw executable with Nix Slower, since it's built from source, but more flexible and supports MacOS. Doesn't support native Windows, but works in WSL2. Make sure your Nix version is recent and supports flakes. For instance, install it via the next-gen nix installer. > [!CAUTION] > Executables built for MacOS are dynamically linked against libraries from Nix > and won't work on systems that don't have these libraries present. **Linux, MacOS, WSL2** See the contribution docs for further information. šŸ¤ Contributing Visit our Contributing guide to learn how to contribute to NativeLink. We welcome contributions from developers of all skill levels and backgrounds! šŸ“Š Stats šŸ“œ License Copyright 2020–2025 Trace Machina, Inc. Licensed under the Functional Source License, Version 1.1, Apache 2.0 Future License. SPDX identifier: . After the second anniversary of the date this version was made available, you may use this software under the Apache License, Version 2.0.