Help with some mpn function to package flint using gmp instead of mpir
Paulo César Pereira de Andrade
paulo.cesar.pereira.de.andrade at gmail.com
Fri Aug 2 02:58:19 CEST 2013
2013/7/31 Fredrik Johansson <fredrik.johansson at gmail.com>:
> Hi Paulo,
Hi Fredrik,
> The next release of flint (2.4) will support gmp out of the box. The
> git version of flint already does this.
Great news :-)
You may have interest in my new prototype flint rpm package.
At first I am not calling it flint2 because it would conflict with
the existing flint package (and require quite some bureaucracy
to get added to Fedora), and, only sagemath uses flint in Fedora
or OpenMandriva (where I am backporting my Fedora contributions).
Full source rpm:
http://pcpa.fedorapeople.org/flint-2.3-1.git4b383e2.fc20.src.rpm
Just spec file:
http://pcpa.fedorapeople.org/flint.spec
Build log:
http://pcpa.fedorapeople.org/flint.log
Using today's checkout of flint master, major issues:
o There are still plenty of harcoded #include "mpir.h"
o Some includes are "dangerous", e.g. include "config.h"
from flint.h, so I patched most of it to include <flint/foo.h>
o I made some type casts because otherwise would need
to add -fpermissive to anything including flint.h and
building c++ code, i.e. for flint itself would be easy,
but adding it to sagemath build should not be necessary.
I am right now finishing a sagemath-5.10 build using
the "prototype":
$ rpm -qa | grep flint
flint-2.3-1.git4b383e2.fc20.x86_64
flint-devel-2.3-1.git4b383e2.fc20.x86_64
packages.
> Best regards,
> Fredrik
Thanks,
Paulo
More information about the gmp-discuss
mailing list