Revert "llvmPackages_15: update licenses"

This reverts commit 386aba3115176b11eb49a0606e9dd17506273776.

As I understand it from reading
<https://llvm.org/docs/DeveloperPolicy.html#copyright-license-and-patents>,
the structure of LLVM licensing is as follows:

- They're in the process of relicensing to Apache-2.0 WITH LLVM-exception,
but they haven't got permission to relicense all the code yet.
This means that some of the code can be used under the new license,
but not all of it, and it's difficult to know which is which. This
license is therefore probably not useful yet, until the relicensing
effort is commit.

- While the relicensing effort is ongoing, code being contributed to
LLVM has to have permission to be used under the old and new
licensing schemes. Since the new licensing scheme can't be used
for all code yet, it only makes sense to use LLVM's code under the
old licensing scheme at the moment.

- The old licensing scheme is that code for the LLVM components we
care about is all available under the NCSA license, and some
components are optionally available under a different license,
usually the MIT license, instead.

So I think we should go back to just listing NCSA, or NCSA/MIT, and
forget about the new license until it actually becomes useful,
i.e. LLVM's relicensing effort is complete.

+13 -1
+3
pkgs/development/compilers/llvm/15/compiler-rt/default.nix
··· 151 151 implementations of run-time libraries for dynamic testing tools such as 152 152 AddressSanitizer, ThreadSanitizer, MemorySanitizer, and DataFlowSanitizer. 153 153 ''; 154 + # "All of the code in the compiler-rt project is dual licensed under the MIT 155 + # license and the UIUC License (a BSD-like license)": 156 + license = with lib.licenses; [ mit ncsa ]; 154 157 }; 155 158 }
+1 -1
pkgs/development/compilers/llvm/15/default.nix
··· 84 84 inherit (releaseInfo) release_version version; 85 85 86 86 llvm_meta = { 87 - license = with lib.licenses; [ ncsa asl20-llvm ]; 87 + license = lib.licenses.ncsa; 88 88 maintainers = lib.teams.llvm.members; 89 89 platforms = lib.platforms.all; 90 90 };
+3
pkgs/development/compilers/llvm/15/libcxx/default.nix
··· 103 103 libc++ is an implementation of the C++ standard library, targeting C++11, 104 104 C++14 and above. 105 105 ''; 106 + # "All of the code in libc++ is dual licensed under the MIT license and the 107 + # UIUC License (a BSD-like license)": 108 + license = with lib.licenses; [ mit ncsa ]; 106 109 }; 107 110 }
+3
pkgs/development/compilers/llvm/15/libcxxabi/default.nix
··· 100 100 longDescription = '' 101 101 libc++abi is a new implementation of low level support for a standard C++ library. 102 102 ''; 103 + # "All of the code in libc++abi is dual licensed under the MIT license and 104 + # the UIUC License (a BSD-like license)": 105 + license = with lib.licenses; [ mit ncsa ]; 103 106 maintainers = llvm_meta.maintainers ++ [ lib.maintainers.vlstill ]; 104 107 }; 105 108 }
+3
pkgs/development/compilers/llvm/15/openmp/default.nix
··· 67 67 "clang -fopenmp" must be linked before it can run and the library that 68 68 supports offload to target devices. 69 69 ''; 70 + # "All of the code is dual licensed under the MIT license and the UIUC 71 + # License (a BSD-like license)": 72 + license = with lib.licenses; [ mit ncsa ]; 70 73 }; 71 74 }