llvm: make use of compound licenses

This commit is contained in:
jopejoe1
2026-04-19 12:25:57 +02:00
parent dbdb37908f
commit baf97485d9
@@ -12,19 +12,19 @@ rec {
llvm_meta = {
license =
with lib.licenses;
[ ncsa ]
++
# Contributions after June 1st, 2024 are only licensed under asl20 and
# llvm-exception: https://github.com/llvm/llvm-project/pull/92394
lib.optionals (lib.versionAtLeast release_version "19") [
asl20
llvm-exception
];
# Contributions after June 1st, 2024 are only licensed under asl20 and
# llvm-exception: https://github.com/llvm/llvm-project/pull/92394
if lib.versionAtLeast release_version "19" then
AND [
ncsa
(WITH asl20 llvm-exception)
]
else
ncsa;
teams = [
lib.teams.llvm
lib.teams.security-review
];
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64