Loading…
BazelCon 2024
Attending this event?
October 14-15, 2024
Mountain View, CA
View More Details & Registration

The Sched app allows you to build your schedule but is separate from your event registration. You must be registered for BazelCon 2024 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to registration.

This schedule is automatically displayed in Pacific Daylight Time (PDT) | UTC -7. To see the schedule in your preferred timezone, please select from the drop-down located at the bottom of the menu to the right.

IMPORTANT NOTE: Timing of sessions and room locations are subject to change.
Tuesday October 15, 2024 4:50pm - 5:00pm PDT
Creating Bazel definitions which allow to build the same targets in multiple configurations at once (i.e. different target platforms) is possibly one of the most convoluted parts of any larger project. Bazel has rich and powerful tooling that supports such an approach, yet it is not yet exposed in an approachable way. Frequently, it leads to opaque macros and custom rules whose sole purpose is to apply some transitions, naming conventions, and more, all of which contributes to Build definitions that are not developer friendly and require a higher level of Bazel familiarity to work with. `rules_variant` is a new meta-ruleset (based on `with_cfg.bzl`) designed to address that particular issue. Desired variants (essentially Bazel configurations) are stored in a JSON file and any Bazel rule may decide to be “pinned” to a certain set of said variants, simply by referencing it via an additional attribute. From the developer’s perspective it is as simple as referencing additional names, if the Bazel target has to be built in an additional “flavor” (with specific settings). This talk showcases the incredible flexibility and readability that comes from the aforementioned approach.
Speakers
avatar for Aleksander Gondek

Aleksander Gondek

Senior Software Engineer, ASML
Alex is contracting for ASML, spearheading migration to Bazel build system. He enjoys solving complex challenges in a manner that results in simple solutions. Rust, Nix and Bazel enthusiast, he attempts to bring reproducibility and correctness to any software project he works on... Read More →
Tuesday October 15, 2024 4:50pm - 5:00pm PDT
Hahn Auditorium

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link