#6147: [with patch, needs review] Make sage -sync-build smarter.
------------------------+---------------------------------------------------
 Reporter:  craigcitro  |       Owner:  craigcitro
     Type:  defect      |      Status:  new       
 Priority:  major       |   Milestone:  sage-4.0.1
Component:  build       |    Keywords:            
------------------------+---------------------------------------------------
 As it stands, `sage -sync-build` simply looks for corresponding `C/C++`
 source files for a given `.o` or `.so` file. However, since the vast
 majority of such files are generated by `.pyx` files, this means that if
 you simply delete the `.pyx` file without deleting the generated `C/C++`
 file, then it won't clean out the compiled object file, which is bad.

 We fix this by searching for `.pyx` files instead. However, there are
 several `C/C++` source files in the sage tree which aren't created from
 Cython; to keep track of these, we walk through the list of extensions
 (which is generated by `module_list.py` and
 `sage/ext/gen_interpreters.py`) and make a list of these non-Cython source
 files, then don't delete things that occur there.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6147>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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