#4480: [with new patch, positive review] cython dependancy checking is too slow
----------------------+-----------------------------------------------------
Reporter: robertwb | Owner: craigcitro
Type: defect | Status: assigned
Priority: blocker | Milestone: sage-3.2
Component: build | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by craigcitro):
In addition to mabshoff's fix at #4500, I think we should add the
following:
{{{
diff -r c543000d6447 setup.py
--- a/setup.py Thu Nov 13 05:32:07 2008 -0800
+++ b/setup.py Thu Nov 13 16:26:41 2008 -0800
@@ -13,11 +13,11 @@
else:
sdist = False
-# uncomment to turn warnings off
-# import distutils.sysconfig
-# NO_WARN = True
-# if NO_WARN and
distutils.sysconfig.get_config_var('CC').startswith("gcc"):
-# extra_compile_args = ['-w']
+# comment these four lines out to turn on warnings from gcc
+import distutils.sysconfig
+NO_WARN = True
+if NO_WARN and
distutils.sysconfig.get_config_var('CC').startswith("gcc"):
+ extra_compile_args = ['-w']
if not os.environ.has_key('SAGE_ROOT'):
print " ERROR: The environment variable SAGE_ROOT must be
defined."
}}}
This just turns warnings back off -- as William points out, it's a lot of
output for the unsuspecting. Michael and I had discussed this when we
changed it, and it would be good to sit down and actually look at the
warnings once to see if anything interesting is being turned up. In the
interim, though, let's not spam. ;)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4480#comment:9>
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
-~----------~----~----~----~------~----~------~--~---