#15758: Reimplement short vector enumeration
-------------------------------------+-------------------------------------
Reporter: mraum | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.1
Component: quadratic forms | Resolution:
Keywords: | Merged in:
Authors: Martin Raum | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mraum/ticket/15758 | 5ba169fbf00d249938a083e30671c38b758b89d7
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
On my system, the following changes were needed to make this compile:
{{{
#!diff
diff --git a/src/module_list.py b/src/module_list.py
index e3a6ea9..c567ee6 100755
--- a/src/module_list.py
+++ b/src/module_list.py
@@ -1475,9 +1475,9 @@ ext_modules = [
depends =
['sage/quadratic_forms/enumerate_short_vectors/enumerate_short_vectors_boost_python.hpp',
'sage/quadratic_forms/enumerate_short_vectors/enumerate_short_vectors.hpp'],
language = 'c++',
- extra_compile_args=['-std=c++11'],
+ extra_compile_args=["-std=c++0x"],
include_dirs = [SAGE_INC, SAGE_INC + '/python2.7',
'sage/c_libs/include'],
- libraries = ['stdc++', 'boost_python', 'mpfi', 'mpfr',
'gmp']),
+ libraries = ['stdc++', 'boost_python-2.7', 'mpfi', 'mpfr',
'gmp']),
Extension('sage.quadratic_forms.quadratic_form__evaluate',
sources =
['sage/quadratic_forms/quadratic_form__evaluate.pyx']),
}}}
I don't know if everybody will be happy that the compiler now needs to
support `-std=c++0x` (personally, I don't mind, especially given that
Sage's GCC does support it).
--
Ticket URL: <http://trac.sagemath.org/ticket/15758#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.