#11705: Port Sage to SUSE Linux Power 7 (ppc64).
-------------------------------+--------------------------------------------
       Reporter:  was          |         Owner:  drkirkby
           Type:  enhancement  |        Status:  new     
       Priority:  major        |     Milestone:  sage-5.0
      Component:  porting      |    Resolution:          
       Keywords:  sd32 sd35.5  |   Work issues:          
Report Upstream:  N/A          |     Reviewers:          
        Authors:               |     Merged in:          
   Dependencies:               |      Stopgaps:          
-------------------------------+--------------------------------------------

Comment (by zimmerma):

 in fact this issue was already fixed in the development version of MPFR.
 Here is a patch:
 {{{

 zimmerma@silius:~/mpfr-3.1.0> diff -u src/mparam_h.in.orig src/mparam_h.in
 --- src/mparam_h.in.orig        2012-03-23 07:46:30.412866000 +0000
 +++ src/mparam_h.in     2012-03-23 07:46:41.821355000 +0000
 @@ -61,14 +61,14 @@
  #define MPFR_TUNE_CASE "src/arm/mparam.h"
  #include "arm/mparam.h"

 -#elif defined (_ARCH_PPC) /* Threshold for 32-bit PowerPC */
 -#define MPFR_TUNE_CASE "src/powerpc32/mparam.h"
 -#include "powerpc32/mparam.h"
 -
  #elif defined (__PPC64__) /* Threshold for 64-bit PowerPC */
  #define MPFR_TUNE_CASE "src/powerpc64/mparam.h"
  #include "powerpc64/mparam.h"

 +#elif defined (_ARCH_PPC) /* Threshold for 32-bit PowerPC */
 +#define MPFR_TUNE_CASE "src/powerpc32/mparam.h"
 +#include "powerpc32/mparam.h"
 +
  #elif defined (__sparc_v9__) /* Threshold for 64-bits Sparc */
  #define MPFR_TUNE_CASE "src/sparc64/mparam.h"
  #include "sparc64/mparam.h"
 }}}
 Paul

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11705#comment:57>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to