Overview
Learn how to leverage Bazel for cross-platform and cross-architecture C++ compilation in this technical conference talk from Salesforce engineers. Master the creation of Bazel C++ toolchains that support different host and target operating systems including Linux, Windows, and macOS, along with processor architectures like AMD and ARM. Discover techniques for automatic toolchain configuration selection based on system requirements, implementing both native and cross-platform compilation processes. Explore the development of "universal binaries" through multi-toolchain builds, resulting in single artifacts capable of running across multiple architectures. Gain practical knowledge about utilizing platform information for package naming, dependency management, and target control. Dive deep into native Bazel features including multi-platform builds, toolchains, transitions, and hermetic toolchain implementation for robust cross-platform development workflows.
Syllabus
Utilizing Bazel for Cross-Platform and Cross-Architecture Compilation an... Axel Uhlig & Marcel Kost
Taught by
Linux Foundation