The current way how Sage handles CFLAGS is quite bad.  There are several
issues:

1. Too many spkg-install files are trying to do clever stuff to
determine CFLAGS.  This should be done just once instead of in every
spkg.  This would imply we don't need to handle SAGE64 and SAGE_DEBUG in
every spkg.

2. Sometimes, the spkg determines CFLAGS which result in a failed build,
for example when the gcc issues instructions which the assembler doesn't
know about.

3. Some packages don't do anything clever and just build with simple,
suboptimal CFLAGS.


My impression is that MPIR is very good at determining the right CFLAGS.
 So we should not try to reinvent the wheel, just take MPIR's CFLAGS.

See http://trac.sagemath.org/sage_trac/ticket/12890

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to