#12365: "sage -b" should work with a compiler if you don't modify Cython code
----------------------+-----------------------------------------------------
   Reporter:  was     |          Owner:  GeorgSWeber
       Type:  defect  |         Status:  new        
   Priority:  major   |      Milestone:  sage-5.0   
  Component:  build   |       Keywords:             
Work_issues:          |       Upstream:  N/A        
   Reviewer:          |         Author:             
     Merged:          |   Dependencies:             
----------------------+-----------------------------------------------------

Comment(by was):

 For the hacker, this can be accomplished with two changes:

 {{{
 d-69-91-158-223:sage Starx$ cd local/bin/
 d-69-91-158-223:bin Starx$ hg diff
 diff --git a/sage-build b/sage-build
 --- a/sage-build
 +++ b/sage-build
 @@ -36,7 +36,7 @@
        if [ $? -ne 0 ]; then
           echo "ERROR: There was an error building c_lib."
           echo ""
 -         exit 1
 +         #exit 1
        fi
        cd "$CUR"
 }}}

 and

 {{{
 d-69-91-158-223:sage Starx$ pwd
 /Users/Starx/sage/devel/sage
 d-69-91-158-223:sage Starx$ hg diff
 diff --git a/setup.py b/setup.py
 --- a/setup.py
 +++ b/setup.py
 @@ -94,6 +94,7 @@

  sage.ext.gen_interpreters.rebuild(SAGE_DEVEL +
 '/sage/sage/ext/interpreters')
  ext_modules = ext_modules + sage.ext.gen_interpreters.modules
 +ext_modules = []


  #########################################################
 }}}

 The second one completely turns off Cython during "sage -b".

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