Changes between Initial Version and Version 21 of Ticket #11680


Ignore:
Timestamp:
Sep 8, 2011, 1:48:56 PM (11 years ago)
Author:
Leif Leonhardy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11680

    • Property Status changed from new to positive_review
    • Property Authors changed from to Martin Albrecht
    • Property Cc Robert Bradshaw added
    • Property Keywords sd32 added
    • Property Reviewers changed from to William Stein, Leif Leonhardy
  • Ticket #11680 – Description

    initial v21  
    1 Right now, the following file foo.pyx cannot be just loaded into Sage:
     1Right now, the following file `foo.pyx` cannot be just loaded into Sage:
    22{{{
    3 
    43from sage.rings.rational cimport Rational
    54from sage.rings.polynomial.polynomial_rational_flint cimport Polynomial_rational_flint
     
    1817}}}
    1918
    20 The main reason is that there is no way to tell Sage (i.e., the file cython.py) that the code needs to have the extra compile flag:
     19The main reason is that there is no way to tell Sage (i.e., the file `cython.py`) that the code needs to have the extra compile flag:
    2120{{{
    2221              extra_compile_args = ['-std=c99'],
    2322}}}
    2423
    25 Currently devel/sage/sage/misc/cython.py defines "clang", "clib", and "cinclude".  But none of these let us add an extra_compile_arg or use c99.
     24Currently `devel/sage/sage/misc/cython.py` supports "clang", "clib", and "cinclude" pragmas.  But none of these let us add an `extra_compile_arg` or use C99.
     25
     26----
     27
     28Apply [attachment:trac_11680.patch] to the Sage library.