2026 EuroLLVM - Creating a runtime using the LLVM_ENABLE_RUNTIMES system @LLVMPROJ
2026 EuroLLVM - Creating a runtime using the LLVM_ENABLE_RUNTIMES system  @LLVMPROJ
Uploaded June 2026 | Updated September 2026, 2 weeks ago
2026 EuroLLVM Developers' Meeting
llvm.org/devmtg/2026-04
------
Title: Creating a runtime using the LLVM_ENABLE_RUNTIMES system
Speaker: Michael Kruse
------
Slides: llvm.org/devmtg/2026-04/slides/tutorial/tutorial_kruse.pdf
-----
Few will need to create a new runtime library for LLVM, and it is not actually the goal of this tutorial. We intend to illustrate the inner workings and conventions of the LLVM build system. Currently, our runtimes (compiler-rt, libc++, openmp, ...) build code is still mostly based on the patterns from when each runtime had its own SVN repository, had to be able to be built independently, and therefore all runtimes implement their own boilerplate. Eventually, they should converge instead of each runtime introducing their own solutions to their build problems.

In addition to an introduction to the history of the LLVM_ENABLE_RUNTIMES system and its rationale, we create a template runtime from scratch covering: registering with the LLVM build system, building library artifacts, build modes, CMake cache files, installation, shared and static libraries, regression testing, unittests, Sphinx and Doxygen docs, cross-compilation, accelerator offloading, and depending on other LLVM libraries.
-----
Videos Edited by Bash Films: BashFilms.com
2026 EuroLLVM - Creating a runtime using the LLVM_ENABLE_RUNTIMES system2025 EuroLLVM - sd-visualiser: Interactive graph visualisation for SSA-based IRs2025 AsiaLLVM - Nanpanjiang Project: Helping Female Engineers Succeed in Compilers and Tools2025 EuroLLVM - LLVM IR   Past, Present and Future2025 AsiaLLVM - Wanco: WebAssembly AOT Compiler That Supports Live Migration2025 US LLVM Developers Meeting: Leveraging MLIR to Compile a Basis-Oriented Quantum Programming2025 US LLVM Developers Meeting: Extending ThinLTO Support for AMDGPU2025 EuroLLVM - Deep Dive into the MLIR to LLVM IR Translation Mechanism2025 US LLVM Developers Meeting: Using and Improving Optimization Remarks2025 AsiaLLVM - Data-Tiling in IREE: Achieving High Performance Through Compiler Design2026 EuroLLVM - All About Alias Analysis2025 EuroLLVM - Solving Compiler Puzzles: Debug Methods in MLIR
LLVM |

2026 EuroLLVM - Creating a runtime using the LLVM_ENABLE_RUNTIMES system

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER