ASHOK SANAashok198510.hashnode.dev·Sep 20, 2023Exploring Bazel: How I Built a High-Performance Java CalculatorWhat is Bazel? 🤔 Bazel is an open-source build and test tool developed by Google. It's designed to build, test, and package software efficiently across different programming languages and platforms. 🌐💻 Bazel provides a uniform and reproducible way...Discuss·29 readsbazel
Antonio Di Stefanothegrizzlydev.hashnode.dev·Aug 24, 2023Let's build a ruleset for Bazel! Getting started and setting up the development environmentWell, it's about time we start writing some code, but before getting started we are going to need a repository to work on. Luckily, there's a template we can start from in bazel-contrib/rules-template. This template is quite awesome as it sets up a b...DiscussLet's build a ruleset for Bazel! - rules_nushellbazel
Antonio Di Stefanothegrizzlydev.hashnode.dev·Aug 21, 2023Let's build a ruleset for Bazel! Introducing rules_nushellHey there, my dear apprentice in the dark arts of Bazel, it is my pleasure to make your acquaintance. I wonder what brought you here in the first place... Were you curious about building rules with Bazel? Or were you looking for cross-platform genrul...DiscussLet's build a ruleset for Bazel! - rules_nushellbazel
Alex EagleforAspect Blogblog.aspect.dev·Aug 4, 2023What's new at Aspect: Summer 2023Since our last update in December, a lot has been going on at Aspect, and we’re delighted to welcome you back from Summer Vacation! Our kids are going back to school and maybe yours are too. We’re ready to build some great software with Bazel! Let’s ...Discuss·11 likes·235 readsbazel
Troels RoennowPro10xdeveloper.blog·Jul 25, 2023Using Bazel for cross-compilation Rust-based Docker images on macOSTL;DR: Building x86 docker images on macOS with Rust binaries is not straightforward and this blog post will only solve half of the problems encountered. Recently, I've encountered some challenges with Rust and rules_oci on a macOS M1/M2. I was tryin...DiscussRust
Alex EagleforAspect Blogblog.aspect.dev·Jul 5, 2023Lazy tool fetching under BazelIn the absence of a tool like Bazel to coordinate the tasks of downloading build inputs and invoking tools that need them, tools are designed with the workaround of doing this for themselves. This pattern of "lazy downloading" is common to simplify t...Discuss·322 readsbazel
Alex EagleforAspect Blogblog.aspect.dev·May 18, 2023Mechanics of moving an other-repo to the monorepoOnce a Bazel monorepo has been setup, a next task is to slowly consume other projects, one-at-a-time. We'll walk through the details of how you perform that operation. This post assumes you've already done some preliminary work: You have a monorepo ...Discuss·314 readsbazel
Alex EagleforAspect Blogblog.aspect.dev·May 5, 2023Introducing rules_ociCross-posted from the Google Security Blog Today, we are announcing the General Availability 1.0 version of rules_oci, an open-sourced Bazel plugin (“ruleset”) that makes it simpler and more secure to build container images with Bazel. This effort w...Discuss·2 likes·747 readsbazel
Alex EagleforAspect Blogblog.aspect.dev·Mar 9, 2023Multiple external dependency closures in BazelI frequently see organizations moving to a monorepo, where applications or services depend on different versions of third-party libraries, and face a decision. Should they align these versions, following a "single version policy". Should they allow e...Discuss·1.2K readsbazel
Alex EagleforAspect Blogblog.aspect.dev·Feb 27, 2023Presets for bazelrcBazel has a TON of options - over 1500 of them! [1] It has so many obscure options that even experts like myself are often surprised to learn about a new one. Many of the options have the wrong default value for new repositories. This means new users...Discuss·1 like·660 readsbazel