#1070: the build system should rebuild Cython modules if the static libraries
they
depend on change
-------------------------+--------------------------------------------------
Reporter: cwitty | Owner: cwitty
Type: enhancement | Status: closed
Priority: minor | Milestone: sage-3.2.2
Component: misc | Resolution: fixed
Keywords: |
-------------------------+--------------------------------------------------
Changes (by mabshoff):
* cc: craigcitro (added)
* status: new => closed
* resolution: => fixed
* milestone: sage-3.4 => sage-3.2.2
Comment:
This has been fixed during Sage 3.2 or so with the new build system. For
example the following change makes the ecm extension depend on libecm.a:
{{{
--- a/module_list.py Tue Dec 16 16:52:43 2008 +0000
+++ b/module_list.py Wed Dec 17 06:23:47 2008 -0800
@@ -339,7 +339,8 @@
Extension('sage.libs.libecm',
sources = ['sage/libs/libecm.pyx'],
- libraries = ['ecm', 'gmp']),
+ libraries = ['ecm', 'gmp'],
+ depends = [SAGE_ROOT + "/local/lib/libecm.a"]),
Extension('sage.libs.mwrank.mwrank',
sources = ["sage/libs/mwrank/mwrank.pyx",
}}}
Touching libecm.a now leads to a rebuild of the ecm extension.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1070#comment:1>
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
-~----------~----~----~----~------~----~------~--~---