Changes between Initial Version and Version 1 of Ticket #12830


Ignore:
Timestamp:
04/11/12 04:35:00 (2 years ago)
Author:
leif
Comment:

This new spkg (also) fixes issues (i.e., assembler errors) on MacOS X with the GCC spkg.

Please test and review!

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12830

    • Property Status changed from new to needs_review
    • Property Cc hedtke justin added
    • Property Authors changed from to Leif Leonhardy
  • Ticket #12830 – Description

    initial v1  
    22 
    33Newer versions of MPIR don't define `__GMP_CFLAGS` (in `gmp.h`) to a ''string literal'', but instead to a ''preprocessor macro'' (`__MPIR_CFLAGS`), which in turn is defined to the string we want. 
     4 
     5---- 
     6 
     7'''New spkg:''' [http://boxen.math.washington.edu/home/leif/Sage/spkgs/ecm-6.3.p5.spkg] 
     8 
     9'''md5sum:''' `dd60d1fb3e6c0e1dbcfeab40ef7faff2  ecm-6.3.p5.spkg` 
     10 
     11 
     12=== ecm-6.3.p5 (Leif Leonhardy, April 11th 2012) === 
     13 * #12830: Don't add `-march=native` if the assembler doesn't understand the 
     14   instructions the compiler emits with that.  (E.g. the Apple/XCode assembler 
     15   on Darwin doesn't yet support AVX.) 
     16 * Fix extraction of `__GMP_CC` and `__GMP_CFLAGS` (from `gmp.h`) for newer 
     17   versions of MPIR, which define these to preprocessor macros rather than 
     18   strings. 
     19 * Redirect warnings and error messages to `stderr`; add some messages. 
     20 * Correct `SPKG.txt` w.r.t. applied patches. 
     21