[PATCH] D142364: [LLVM][TableGen] Notebook describing how to write a Python backend

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 13:13:43 PST 2023


myhsu added a comment.

In D142364#4073657 <https://reviews.llvm.org/D142364#4073657>, @DavidSpickett wrote:

> I should note that this does not require the tablegen kernel, it's the default iPython kernel. You will need to tell it how to find `llvm-tblgen` though.
>
> @myhsu This is what we talked about over email last year.
>
> There is a licensing issue I need you to clarify if you are ok with. Your C++ work is Apache 2.0 and this would be a derivative work of that, licensed the same. Which is a bit awkward to do here, perhaps it would be enough to include a copy of the license at the start of the tutorial, I'd have to check with an expert.

Interesting...I naively thought that since LLVM's license is a special version of Apache 2.0, it should be easy to authorize my work to LLVM.

> Alternatively, if you are the sole author (and therefore copyright holder) of SQLGen (which is my understanding) you could give me permission to contribute this to llvm. Where it would be under Apache 2.0 with llvm exceptions and the legacy license (as described here https://llvm.org/docs/DeveloperPolicy.html#relicensing).

This path definitely sounds easier to me :-) And yes, I'm the sole author and copyright holder of SQLGen. How can I give such permission to you? Send an email?

Thanks for noticing this issue!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142364/new/

https://reviews.llvm.org/D142364



More information about the llvm-commits mailing list