← Back to team overview

syfi team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~syfi-core/fenics-syfi/main] Rev 516: Move to LGPL v3 (or later). I don't know if it makes sense since GiNaC is GPL v2 (or later), but ...]

 

On 1 June 2011 14:48, Anders Logg <logg@xxxxxxxxx> wrote:
> On Wed, Jun 01, 2011 at 02:42:51PM +0200, Martin Sandve Alnæs wrote:
>> On 1 June 2011 14:35, Anders Logg <logg@xxxxxxxxx> wrote:
>> > It's not allowed. Ginac is GPL which means SyFi must also be GPL.  I
>> > haven't thought of that.
>> >
>> > I don't know if it has any implications for using SyFi from DOLFIN,
>> > but it might work if the user handles the choice of form compiler.
>>
>> Dolfin has no dependencies to syfi, that can't possibly be a problem.
>> If I make a library that happens to fit the interfaces in your software,
>> you can't be legally bound by what I did...
>
> DOLFIN does this:
>
> form_compiler = __import__(form_compiler_name)
>
> where form_compiler_name can be "sfc". Since DOLFIN does not set this
> name to be "sfc", I think it should be ok.
>
> On the other hand, I doubt this would be ok:
>
> form_compiler_name = "sfc"
> form_compiler = __import__(form_compiler_name)
>
>> Clearly, SyFi must be GPL, and I guess swiginac as well.
>> Since sfc uses swiginac and SyFi from python, does it have
>> to be GPL as well?
>
> I think so, if somewhere in sfc you have "import syfi".

All over the place. Also import swiginac, which is obviously a
derivative work of ginac.

We've reverted to GPL now in SyFi and SFC.

Martin


References