#11680: support extra_compile_args (e.g., C99) when loading/attaching .pyx 
(cython)
files, and when using %cython in the notebook
---------------------------+------------------------------------------------
   Reporter:  was          |          Owner:  jason          
       Type:  enhancement  |         Status:  needs_review   
   Priority:  minor        |      Milestone:  sage-4.7.2     
  Component:  misc         |       Keywords:                 
Work_issues:               |       Upstream:  N/A            
   Reviewer:               |         Author:  Martin Albrecht
     Merged:               |   Dependencies:                 
---------------------------+------------------------------------------------

Comment(by malb):

 Replying to [comment:8 leif]:
 > Hmmm, the naming isn't very clear.

 Agreed.

 > I'd use some plural form for `cfile`, i.e. `cfiles`, or something else,
 e.g. `csources`, which clearly indicates that these are additional,
 "arbitrary" source files to also be compiled into the extension module.

 Those weren't added in this ticket.

 > `cargs` is similarly ambiguous, as the `c` refers to Cython, not C, but
 the "args" are passed to the C or C++ compiler rather than to `cython`
 itself.

 Yep, the whole cprefix thingy is ambiguous. Perhaps there should be
 another ticket where the whole system is overhauled?

 > (I admit that `clib` and `cinclude` could perhaps have better names, or
 at least the plural form, as well; especially for the latter it isn't
 clear that its parameters are or can be actually ''search paths''.)

 These weren't added in this ticket.

 > For compiling C99, I still prefer having `#clang C99` (case-insensitive
 for all languages btw.).

 I have no preference either way. GCC treats it as an option. Hence, I
 think it's okay to have it as part of {{{cargs}}}.

 > P.S.: Now I'm happy ''I'' didn't also work on this yesterday... ;-)

 But you could work on a more general ticket tomorrow ;-)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11680#comment:11>
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