4 ms·
Apache 2.0 is not a great choice if you care about license compatibility, unless you include an exception as LLVM is doing here. Another good choice is https:/
by JoshTriplett 8y ago
Apache 2.0 is not a great choice if you care about license compatibility, unless you include an exception as LLVM is doing here.
Another good choice is https://opensource.org/licenses/BSDplusPatent https://opensource.org/licenses/BSDplusPatent , which combines the 2-clause BSD license with the explicit patent clause from Apache 2.0. That gives you GPLv2-compatibility as well.
(Note that this is unrelated to the unfortunately similarly named license from Facebook, which is not a FOSS license.)
- segfaultbuserr 8y agoThanks! I was always searching for this license, but I had previously only found The Clear BSD License, the BSD license with a PATENTS-NOT-INCLUDED clause (oops), and the Universal Permissive License, which is a general permissive license WITH a patent clause, but too obscure to inspire confidence among other developers. Now I'm going to recommends BSDplusPatent instead of Apache 2. Simply and clear.
- chandlerc1024 8y agoFWIW, Apache2 has other really useful aspects such as being self executing. We looked at options very similar to BSD w/ a patents clause and they ended up being less good on several fronts. Of course, YMMV, this was specifically in the context of LLVM.
- the_why_of_y 8y agoIMHO the license incompatibilty problem is rather minor: Firstly, AFAIK all of the licenses that ALv2 is incompatible with are obsolete and superseded versions. Secondly, the ALv2 is file-scoped, so you can typically combine a library licensed ALv2 and another one with an incompatible permissive or weak copyleft license. In practice this means that you'll have a problem combining ALv2 with old versions of strong copyleft licenses, e.g., something licensed GPLv2-only. This is certainly an issue to consider for a project like LLVM, but of lesser importance for the majority of smaller scoped libraries.
- JoshTriplett 8y agoGPLv2 comes up reasonably often.
- ksec 8y agoWhy wasn't this used instead of Apache 2.0? Reads to me a much simpler while providing ( All ? ) the benefits of Apache 2.0? What is it missing?