On Wed, Apr 24, 2024 at 1:56 PM Antonio Sanchez <[email protected]>
wrote:

> > Is the license (MPL) of Eigen compatible with the GPLv3+ license?
>
> Yes.  https://www.mozilla.org/en-US/MPL/2.0/
>
> > If I use Eigen, I need it to be compiled (using GCC 13 -with on
> Debian/Trixie/x86-64) with both optimization flags and DWARF debugging
> information.
>
> Eigen is header-only, you can compile your own code however you need.
>
> > Is the Eigen library POSIX thread friendly?
>
> Core Eigen is single-threaded, unless you enable OpenMP.  The Tensor
> module has a std::thread-based threadpool, which, yes, is compatible.
>

Minor correction: The threadpool is now part of Core Eigen, but is not used
by default.


>
> > Is the Eigen library compilable easily (on a Linux/x86-64 desktop or
> laptop) with GCC 13 using -standard=gnu17 -Wall -Wextra -O -g -fPIE ? How
> to do that easily? (I don't know much about cmake, and prefer GNU make)
>
> You don't need to use cmake.  It's header only, so just ensure it's in
> your header search path and compile however you like.
>
> ~Antonio
>
> On Wed, Apr 24, 2024 at 1:41 PM Basile Starynkevitch <
> [email protected]> wrote:
>
>> Hello all,
>>
>> Is the license (MPL) of Eigen compatible with the GPLv3+ license? (I
>> believe that yes, but I am not sure).
>>
>> If I use Eigen, I need it to be compiled (using GCC 13 -with on
>> Debian/Trixie/x86-64) with both optimization flags and DWARF debugging
>> information.
>>
>> Is the Eigen library POSIX thread friendly?
>>
>> Is the Eigen library compilable easily (on a Linux/x86-64 desktop or
>> laptop) with GCC 13 using -standard=gnu17 -Wall -Wextra -O -g -fPIE ?
>> How to do that easily? (I don't know much about cmake, and prefer GNU
>> make)
>>
>> Thanks for reading.
>>
>> (I am considering using Eigen library in the RefPerSys inference engine
>> free software project - see my signature below, the code under
>>
>> https://github.com/RefPerSys/RefPerSy
>>
>> and http://refpersys.org/ ...)
>>
>> Regards from near Paris in France.
>>
>>
>> --
>> Basile Starynkevitch             <[email protected]>
>> (only mine opinions / les opinions sont miennes uniquement)
>> 8 rue de la Faïencerie, 92340 Bourg-la-Reine, France
>> web page: starynkevitch.net/Basile/
>> See/voir:   https://github.com/RefPerSys/RefPerSys
>>
>>
>>
>>

Reply via email to