#13348: Set CPATH in sage-env
---------------------------+------------------------------------------------
   Reporter:  jdemeyer     |             Owner:  GeorgSWeber   
       Type:  enhancement  |            Status:  new           
   Priority:  blocker      |         Milestone:  sage-5.3      
  Component:  build        |          Keywords:                
Work issues:               |   Report Upstream:  N/A           
  Reviewers:               |           Authors:  Jeroen Demeyer
  Merged in:               |      Dependencies:                
   Stopgaps:               |  
---------------------------+------------------------------------------------
 Since we're setting `LIBRARY_PATH` in `sage-env` (which is the ''compile-
 time'' equivalent of `LD_LIBRARY_PATH`, corresponding to the compiler flag
 `-L`), we should analogously set `CPATH` to `SAGE_LOCAL/include`
 (corresponding to the compiler flag `-I`).

 Within Sage, `SAGE_LOCAL` effectively acts as installation prefix, so this
 is the logical thing to do.  A GCC compiled within Sage will already look
 at `SAGE_LOCAL/include` by default.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13348>
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