On Jan 10, 7:42 am, David Harvey <dmhar...@cims.nyu.edu> wrote:
> Hi,

Hi David,

> Suppose that, in a month or two, MPIR and GMP 4.3 have been released,  
> and that the official Sage distribution now uses MPIR instead of GMP.  
> Suppose that a friend of mine wants to run Sage using GMP instead of  
> MPIR. Under these hypotheses, would it be technically feasible for my  
> friend to make a gmp-4.3.spkg that replaces MPIR inside Sage?

Yes.

> If so,  how would she install it? Would she need to put it in spkg/standard  
> *before* running make?

Yes. Upgrading will also likely be broken unless precautions are taken
to avoid updated eMPIRe.spkgs.

> Would she need to do things like change a  
> bunch of #include <mpir.h>'s back into #include <gmp.h> etc etc?

Nope, you would need to drop in some gmp-$FOO.spkg into spkg/standard
before building Sage and then run make. That might change in the
future, but so far no one has started to do that work. Once this
happens it will likely be one global switch, but we will deal with
that once we cross that bridge.

But there are also doctest failures due to changes to the results of
xgcd and consequently some other code, but other than that it should
"just" work.

> david

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to