antvis / g-webgl-compute

A GPGPU implementation based on WebGL.
MIT License
144 stars 15 forks source link

Question about license #55

Open simon2k opened 9 months ago

simon2k commented 9 months ago

I was reviewing Snyk issues reported for my client's project and encountered that the license of a library used by this project - @webgpu/glslang is GPL (amongst others, defined here). The open question I have is if the license of this library should be changed to GPL to adhere to the licese of the library used by this package (according to the post):

Code G is GPL licensed. Code M is MIT licensed. You wrote X.

You create project GX which contains your code (X) and G. If you distribute GX (the source or binary) then you have to make GX available (this includes X -- your code -- which you might not have wanted to make available). Why? Because if GX is a derivative work, then GX is also licensed under GPL.