Distro News

LLVM nears completion of multi-year transition to Apache-2.0 license

Key Takeaway

After an eight-year effort, LLVM has successfully transitioned over 99.5% of its codebase to the Apache License 2.0 with LLVM Exceptions.

Summary

The LLVM Foundation has announced that it is nearing the end of a long-term project to relicense the LLVM compiler infrastructure. While new contributions have utilized the Apache License 2.0 with LLVM Exceptions since January 2019, the project has spent years seeking permission from legacy contributors to move older code under the new terms.

As of late 2026, more than 99.5% of the codebase is now covered by the new license, or is otherwise exempt from copyright. The remaining administrative tasks, including updating documentation and source headers, are scheduled to occur following the creation of the LLVM 24 release branch in early 2027.

Technical details of the Apache-2.0 transition

  • License Structure: The project has moved from the University of Illinois/NCSA Open Source License and MIT to the Apache License 2.0, supplemented by two specific LLVM Exceptions.
  • Redistribution Exception: The first exception allows users to redistribute compiled output containing embedded LLVM code without adhering to specific Apache requirements, such as providing a license or marking modified files.
  • Compatibility Exception: The second exception is designed to resolve specific GPL compatibility issues, facilitating smoother integration with various open-source ecosystems.
  • Legacy Code Management: Contributors who provided code before January 19, 2019, and have not signed a relicensing agreement can opt-out by contacting the foundation to have their files assigned appropriate SPDX identifiers.

Why it matters

This transition provides much-needed legal clarity for developers and distributors using LLVM-based tools like Clang. The specific Apache exceptions ensure that the compiler infrastructure remains highly compatible with both permissive and copyleft software ecosystems, reducing friction for Linux distributions and hardware vendors.

What to do

  • Contributors who provided code before January 19, 2019, and have not signed a relicensing agreement can email license-questions@llvm.org to opt-out of the Apache-2.0 with LLVM-exception license.

Original reference: fossforce.com →