# HG changeset patch
# User Jeroen Demeyer <jdemeyer@cage.ugent.be>
# Date 1363274543 -3600
# Node ID c004d5860ebe809507a52f92ac45471e126a7065
# Parent 58b0b7a8d08079ccbea5bc4117368ddd9e89e6bb
Remove c99 options (Sage's Python now uses c99 by default)
diff --git a/module_list.py b/module_list.py
a
|
b
|
|
278 | 278 | |
279 | 279 | Extension('sage.ext.multi_modular', |
280 | 280 | sources = ['sage/ext/multi_modular.pyx'], |
281 | | extra_compile_args = ['-std=c99'], |
282 | 281 | libraries=['gmp']), |
283 | 282 | |
284 | 283 | Extension('sage.ext.pselect', |
… |
… |
|
396 | 395 | sources = ['sage/graphs/matchpoly.pyx'], |
397 | 396 | libraries = ['gmp', 'flint'], |
398 | 397 | include_dirs = [SAGE_INC + 'FLINT/'], |
399 | | extra_compile_args = ['-std=c99'], |
400 | 398 | depends = flint_depends), |
401 | 399 | |
402 | 400 | Extension('sage.graphs.planarity', |
… |
… |
|
506 | 504 | sources = ['sage/groups/perm_gps/partn_ref/automorphism_group_canonical_label.pyx'], |
507 | 505 | libraries = ['gmp', 'flint'], |
508 | 506 | include_dirs = [SAGE_INC + 'FLINT/'], |
509 | | extra_compile_args = ['-std=c99'], |
510 | 507 | depends = flint_depends), |
511 | 508 | |
512 | 509 | Extension('sage.groups.perm_gps.partn_ref.canonical_augmentation', |
513 | 510 | sources = ['sage/groups/perm_gps/partn_ref/canonical_augmentation.pyx'], |
514 | 511 | libraries = ['gmp', 'flint'], |
515 | 512 | include_dirs = [SAGE_ROOT + '/local/include/FLINT/'], |
516 | | extra_compile_args = ['-std=c99'], |
517 | 513 | depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]), |
518 | 514 | |
519 | 515 | Extension('sage.groups.perm_gps.partn_ref.double_coset', |
520 | 516 | sources = ['sage/groups/perm_gps/partn_ref/double_coset.pyx'], |
521 | 517 | libraries = ['gmp', 'flint'], |
522 | 518 | include_dirs = [SAGE_INC + 'FLINT/'], |
523 | | extra_compile_args = ['-std=c99'], |
524 | 519 | depends = flint_depends), |
525 | 520 | |
526 | 521 | Extension('sage.groups.perm_gps.partn_ref.refinement_binary', |
527 | 522 | sources = ['sage/groups/perm_gps/partn_ref/refinement_binary.pyx'], |
528 | 523 | libraries = ['gmp', 'flint'], |
529 | 524 | include_dirs = [SAGE_INC + 'FLINT/'], |
530 | | extra_compile_args = ['-std=c99'], |
531 | 525 | depends = flint_depends), |
532 | 526 | |
533 | 527 | Extension('sage.groups.perm_gps.partn_ref.refinement_graphs', |
534 | 528 | sources = ['sage/groups/perm_gps/partn_ref/refinement_graphs.pyx'], |
535 | 529 | libraries = ['gmp', 'flint'], |
536 | 530 | include_dirs = [SAGE_INC + 'FLINT/'], |
537 | | extra_compile_args = ['-std=c99'], |
538 | 531 | depends = flint_depends), |
539 | 532 | |
540 | 533 | Extension('sage.groups.perm_gps.partn_ref.refinement_lists', |
541 | 534 | sources = ['sage/groups/perm_gps/partn_ref/refinement_lists.pyx'], |
542 | 535 | libraries = ['gmp', 'flint'], |
543 | 536 | include_dirs = [SAGE_INC + 'FLINT/'], |
544 | | extra_compile_args = ['-std=c99'], |
545 | 537 | depends = flint_depends), |
546 | 538 | |
547 | 539 | Extension('sage.groups.perm_gps.partn_ref.refinement_matrices', |
548 | 540 | sources = ['sage/groups/perm_gps/partn_ref/refinement_matrices.pyx'], |
549 | 541 | libraries = ['gmp', 'flint'], |
550 | 542 | include_dirs = [SAGE_INC + 'FLINT/'], |
551 | | extra_compile_args = ['-std=c99'], |
552 | 543 | depends = flint_depends), |
553 | 544 | |
554 | 545 | Extension('sage.groups.perm_gps.partn_ref.refinement_python', |
555 | 546 | sources = ['sage/groups/perm_gps/partn_ref/refinement_python.pyx'], |
556 | 547 | libraries = ['gmp', 'flint'], |
557 | 548 | include_dirs = [SAGE_INC + 'FLINT/'], |
558 | | extra_compile_args = ['-std=c99'], |
559 | 549 | depends = flint_depends), |
560 | 550 | |
561 | 551 | Extension('sage.groups.perm_gps.partn_ref.refinement_sets', |
562 | 552 | sources = ['sage/groups/perm_gps/partn_ref/refinement_sets.pyx'], |
563 | 553 | libraries = ['gmp', 'flint'], |
564 | 554 | include_dirs = [SAGE_ROOT + '/local/include/FLINT/'], |
565 | | extra_compile_args = ['-std=c99'], |
566 | 555 | depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]), |
567 | 556 | |
568 | 557 | ################################ |
… |
… |
|
637 | 626 | sources = ["sage/libs/flint/flint.pyx"], |
638 | 627 | libraries = ["csage", "flint", "gmp", "gmpxx", "m", "stdc++"], |
639 | 628 | include_dirs = [SAGE_INC + 'FLINT/'], |
640 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
641 | 629 | depends = flint_depends), |
642 | 630 | |
643 | 631 | Extension('sage.libs.flint.fmpz_poly', |
644 | 632 | sources = ["sage/libs/flint/fmpz_poly.pyx"], |
645 | 633 | libraries = ["csage", "flint", "gmp", "gmpxx", "m", "stdc++"], |
646 | 634 | include_dirs = [SAGE_INC + 'FLINT/'], |
647 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
648 | 635 | depends = flint_depends), |
649 | 636 | |
650 | 637 | Extension('sage.libs.fplll.fplll', |
… |
… |
|
1017 | 1004 | # TODO -- change to use BLAS at some point. |
1018 | 1005 | Extension('sage.matrix.matrix_integer_dense', |
1019 | 1006 | sources = ['sage/matrix/matrix_integer_dense.pyx'], |
1020 | | extra_compile_args = ['-std=c99'] + m4ri_extra_compile_args, |
| 1007 | extra_compile_args = m4ri_extra_compile_args, |
1021 | 1008 | depends = [SAGE_INC + 'm4ri/m4ri.h'], |
1022 | 1009 | # order matters for cygwin!! |
1023 | 1010 | libraries = ['iml', 'pari', 'gmp', 'm', BLAS, BLAS2]), |
… |
… |
|
1029 | 1016 | Extension('sage.matrix.matrix_mod2_dense', |
1030 | 1017 | sources = ['sage/matrix/matrix_mod2_dense.pyx'], |
1031 | 1018 | libraries = ['gmp','m4ri', 'gd', 'png12', 'z'], |
1032 | | extra_compile_args = ['-std=c99'] + m4ri_extra_compile_args, |
| 1019 | extra_compile_args = m4ri_extra_compile_args, |
1033 | 1020 | depends = [SAGE_INC + "png.h", SAGE_INC + "m4ri/m4ri.h"]), |
1034 | 1021 | |
1035 | 1022 | Extension('sage.matrix.matrix_mod2e_dense', |
… |
… |
|
1228 | 1215 | sources = ['sage/modular/modform/eis_series_cython.pyx'], |
1229 | 1216 | libraries = ["gmp", "flint"], |
1230 | 1217 | include_dirs = [SAGE_INC + 'FLINT/'], |
1231 | | extra_compile_args = ['-std=c99'], |
1232 | 1218 | depends = flint_depends), |
1233 | 1219 | |
1234 | 1220 | Extension('sage.modular.modsym.apply', |
1235 | 1221 | sources = ['sage/modular/modsym/apply.pyx'], |
1236 | 1222 | libraries = ["csage", "flint", "gmp", "gmpxx", "m", "stdc++"], |
1237 | 1223 | include_dirs = [SAGE_INC + 'FLINT/'], |
1238 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
1239 | 1224 | depends = flint_depends), |
1240 | 1225 | |
1241 | 1226 | Extension('sage.modular.modsym.relation_matrix_pyx', |
… |
… |
|
1245 | 1230 | sources = ['sage/modular/modsym/heilbronn.pyx'], |
1246 | 1231 | libraries = ["csage", "flint", "gmp", "gmpxx", "m", "stdc++"], |
1247 | 1232 | include_dirs = [SAGE_INC + 'FLINT/'], |
1248 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
1249 | 1233 | depends = flint_depends), |
1250 | 1234 | |
1251 | 1235 | Extension('sage.modular.modsym.p1list', |
… |
… |
|
1285 | 1269 | libraries = ['gmp']), |
1286 | 1270 | |
1287 | 1271 | Extension('sage.modules.vector_modn_dense', |
1288 | | extra_compile_args = ['-std=c99'], |
1289 | 1272 | sources = ['sage/modules/vector_modn_dense.pyx']), |
1290 | 1273 | |
1291 | 1274 | Extension('sage.modules.vector_mod2_dense', |
1292 | 1275 | sources = ['sage/modules/vector_mod2_dense.pyx'], |
1293 | 1276 | libraries = ['gmp','m4ri', 'png12', 'gd'], |
1294 | | extra_compile_args = ['-std=c99'] + m4ri_extra_compile_args, |
| 1277 | extra_compile_args = m4ri_extra_compile_args, |
1295 | 1278 | depends = [SAGE_INC + "png.h", SAGE_INC + "m4ri/m4ri.h"]), |
1296 | 1279 | |
1297 | 1280 | Extension('sage.modules.vector_rational_dense', |
… |
… |
|
1353 | 1336 | depends = numpy_depends), |
1354 | 1337 | |
1355 | 1338 | Extension('sage.plot.plot3d.base', |
1356 | | sources = ['sage/plot/plot3d/base.pyx'], |
1357 | | extra_compile_args=["-std=c99"]), |
| 1339 | sources = ['sage/plot/plot3d/base.pyx']), |
1358 | 1340 | |
1359 | 1341 | Extension('sage.plot.plot3d.implicit_surface', |
1360 | 1342 | sources = ['sage/plot/plot3d/implicit_surface.pyx'], |
… |
… |
|
1363 | 1345 | depends = numpy_depends), |
1364 | 1346 | |
1365 | 1347 | Extension('sage.plot.plot3d.index_face_set', |
1366 | | sources = ['sage/plot/plot3d/index_face_set.pyx'], |
1367 | | extra_compile_args=["-std=c99"]), |
| 1348 | sources = ['sage/plot/plot3d/index_face_set.pyx']), |
1368 | 1349 | |
1369 | 1350 | Extension('sage.plot.plot3d.parametric_surface', |
1370 | 1351 | sources = ['sage/plot/plot3d/parametric_surface.pyx']), |
… |
… |
|
1415 | 1396 | |
1416 | 1397 | Extension('sage.rings.complex_double', |
1417 | 1398 | sources = ['sage/rings/complex_double.pyx'], |
1418 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
1419 | 1399 | libraries = (['gsl', BLAS, BLAS2, 'pari', 'gmp', 'm'])), |
1420 | 1400 | |
1421 | 1401 | Extension('sage.rings.complex_interval', |
… |
… |
|
1451 | 1431 | Extension('sage.rings.fraction_field_FpT', |
1452 | 1432 | sources = ['sage/rings/fraction_field_FpT.pyx'], |
1453 | 1433 | libraries = ["csage", "flint", "gmp", "gmpxx", "ntl", "zn_poly"], |
1454 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
1455 | 1434 | include_dirs = [SAGE_INC + 'FLINT/'], |
1456 | 1435 | depends = flint_depends), |
1457 | 1436 | |
… |
… |
|
1731 | 1710 | Extension('sage.rings.polynomial.polynomial_zmod_flint', |
1732 | 1711 | sources = ['sage/rings/polynomial/polynomial_zmod_flint.pyx'], |
1733 | 1712 | libraries = ["csage", "flint", "gmp", "gmpxx", "ntl", "zn_poly"], |
1734 | | extra_compile_args=["-std=c99", "-D_XPG6"], |
1735 | 1713 | include_dirs = [SAGE_INC + 'FLINT/'], |
1736 | 1714 | depends = flint_depends), |
1737 | 1715 | |
… |
… |
|
1751 | 1729 | Extension('sage.rings.polynomial.polynomial_rational_flint', |
1752 | 1730 | sources = ['sage/rings/polynomial/polynomial_rational_flint.pyx', 'sage/libs/flint/fmpq_poly.c'], |
1753 | 1731 | language = 'c++', |
1754 | | extra_compile_args=["-std=c99"] + uname_specific('SunOS', [], ['-D_XPG6']), |
1755 | 1732 | libraries = ["csage", "flint", "ntl", "gmpxx", "gmp"], |
1756 | 1733 | include_dirs = [SAGE_INC + 'FLINT/', 'sage/libs/flint/'], |
1757 | 1734 | depends = flint_depends), |
… |
… |
|
1792 | 1769 | |
1793 | 1770 | Extension('sage.schemes.elliptic_curves.descent_two_isogeny', |
1794 | 1771 | sources = ['sage/schemes/elliptic_curves/descent_two_isogeny.pyx'], |
1795 | | extra_compile_args=["-std=c99"], |
1796 | 1772 | depends = [SAGE_INC + 'ratpoints.h', |
1797 | 1773 | SAGE_INC + 'gmp.h'] + |
1798 | 1774 | flint_depends, |
… |
… |
|
1826 | 1802 | sources = ['sage/sets/disjoint_set.pyx'], |
1827 | 1803 | libraries = ['gmp', 'flint'], |
1828 | 1804 | include_dirs = [SAGE_INC + 'FLINT/'], |
1829 | | extra_compile_args = ['-std=c99'], |
1830 | 1805 | depends = flint_depends), |
1831 | 1806 | |
1832 | 1807 | ################################ |
… |
… |
|
1845 | 1820 | sources = ['sage/stats/hmm/hmm.pyx']), |
1846 | 1821 | |
1847 | 1822 | Extension('sage.stats.hmm.chmm', |
1848 | | sources = ['sage/stats/hmm/chmm.pyx'], |
1849 | | extra_compile_args=["-std=c99"]), |
| 1823 | sources = ['sage/stats/hmm/chmm.pyx']), |
1850 | 1824 | |
1851 | 1825 | Extension('sage.stats.intlist', |
1852 | 1826 | sources = ['sage/stats/intlist.pyx']), |