[LLVMdev] Licensing requirements

Tor Gunnar Houeland houeland at pvv.org
Tue Jul 5 07:37:14 PDT 2011

My impression from reading http://llvm.org/docs/DeveloperPolicy.html#clp 
is that it's intended to be possible to compile programs using llvm and 
distribute the resulting binaries freely. This does not seem to be the case.

I'm assuming no portion of LLVM is included in the compiled binaries, 
only the runtime library components, so that the compiled binaries are 
not derived from LLVM. Is that true?

The runtime library components state that they are licensed under 
http://www.opensource.org/licenses/mit-license.php which does not 
contain a specific clause regarding binary redistribution. This seems to 
have been interpreted as not placing any restrictions on binary 
redistribution, i.e. that "all copies" has somehow been interpreted as 
"copies in source code form". (Different licenses such as Boost, zlib, 
and bzip2 etc. do not require copyright notices for binary redistributions.)

Is it sufficient to include the MIT copyright notices from 
http://llvm.org/svn/llvm-project/compiler-rt/trunk/LICENSE.TXT / 
http://llvm.org/svn/llvm-project/libcxx/trunk/LICENSE.TXT for programs 
compiled with LLVM? (Probably including the respective CREDITS.TXT files 
as a courtesy, although there doesn't seem to be any actual requirements 
to indicate that it's for Compiler-RT/libc++)

And finally, could it be possible to change the licensing (again) so 
that no notices would be required?

   - Tor Gunnar

More information about the llvm-dev mailing list