Dev News Daily ENDE

LLVM closes its relicensing effort with 99.5% of all code under Apache-2.0

Kristof Beyls announced on the LLVM forum on 19 November that the project is calling its relicensing effort complete. More than 99.5% of all lines of code ever contributed to LLVM are now either covered by Apache-2.0 with the LLVM exception, too small to be covered by copyright, or no longer in the repository. New contributions have come in under the new license since 19 January 2019; older code was under UIUC/NCSA, plus MIT for some runtime libraries, and needed its authors' permission to move.

More than 1,300 individual contributors and about 100 companies and organisations signed agreements. Progress was measured with a spreadsheet of agreements and a script that sorted every commit in the monorepo's history into covered, not relevant or uncertain. The stated assumptions: contributions of ten lines or fewer are too small for copyright, removed code does not count, patches from a company email address belong to that company, and people are covered for the time they worked at a signing company, based on public employment histories.

After the LLVM 24 release branch is created, expected in early January 2027, the project will update LICENSE files, developer policy, FAQ, READMEs, source file headers, release packaging and the foundation website on top-of-trunk, so the change ships with LLVM 25. Vendored third-party code keeps its own license. Contributors from before 19 January 2019 who have not signed and object can email license-questions@llvm.org, and the project will add an SPDX identifier to files that still hold a copyrightable amount of their code.

LLVM closes its relicensing effort with 99.5% of all code under Apache-2.0
LLVM closes its relicensing effort with 99.5% of all code under Apache-2.0 — Dev News Daily

Why it matters

The project names the benefit itself: one license for LLVM's own code makes legal reviews and software bills of materials simpler for everyone who embeds it - with the leftover marked file by file rather than left as a caveat on the whole tree.

Written by Victoria Shinder.