Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Some Sage library files are underlinked.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Pierre Flori committed Nov 14, 2014
1 parent 21d9db2 commit fbf812d
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions src/module_list.py
Expand Up @@ -262,7 +262,8 @@ def uname_specific(name, value, alternative):
sources=['sage/combinat/crystals/letters.pyx']),

Extension('sage.combinat.designs.designs_pyx',
sources=['sage/combinat/designs/designs_pyx.pyx']),
sources=['sage/combinat/designs/designs_pyx.pyx'],
libraries=['gmp']),

Extension('sage.combinat.designs.orthogonal_arrays_find_recursive',
sources=['sage/combinat/designs/orthogonal_arrays_find_recursive.pyx']),
Expand All @@ -274,7 +275,9 @@ def uname_specific(name, value, alternative):
################################

Extension('sage.crypto.boolean_function',
sources = ['sage/crypto/boolean_function.pyx']),
sources = ['sage/crypto/boolean_function.pyx'],
libraries=['gmp']),


################################
##
Expand Down Expand Up @@ -395,7 +398,8 @@ def uname_specific(name, value, alternative):
libraries = ['cliquer']),

Extension('sage.graphs.independent_sets',
sources = ['sage/graphs/independent_sets.pyx']),
sources = ['sage/graphs/independent_sets.pyx'],
libraries=['gmp']),

Extension('sage.graphs.graph_decompositions.vertex_separation',
sources = ['sage/graphs/graph_decompositions/vertex_separation.pyx']),
Expand Down Expand Up @@ -516,13 +520,16 @@ def uname_specific(name, value, alternative):
################################

Extension('sage.graphs.base.c_graph',
sources = ['sage/graphs/base/c_graph.pyx']),
sources = ['sage/graphs/base/c_graph.pyx'],
libraries=['gmp']),

Extension('sage.graphs.base.sparse_graph',
sources = ['sage/graphs/base/sparse_graph.pyx']),
sources = ['sage/graphs/base/sparse_graph.pyx'],
libraries=['gmp']),

Extension('sage.graphs.base.dense_graph',
sources = ['sage/graphs/base/dense_graph.pyx']),
sources = ['sage/graphs/base/dense_graph.pyx'],
libraries=['gmp']),

################################
##
Expand Down Expand Up @@ -1169,7 +1176,8 @@ def uname_specific(name, value, alternative):
['sage/matroids/matroid.pyx']),

Extension('sage.matroids.extension',
['sage/matroids/extension.pyx']),
['sage/matroids/extension.pyx'],
libraries = ['gmp']),

Extension('sage.matroids.set_system',
['sage/matroids/set_system.pyx'],
Expand All @@ -1188,13 +1196,15 @@ def uname_specific(name, value, alternative):
libraries = ['gmp']),

Extension('sage.matroids.linear_matroid',
['sage/matroids/linear_matroid.pyx']),
['sage/matroids/linear_matroid.pyx'],
libraries = ['gmp']),

Extension('sage.matroids.circuit_closures_matroid',
['sage/matroids/circuit_closures_matroid.pyx']),

Extension('sage.matroids.unpickling',
['sage/matroids/unpickling.pyx']),
['sage/matroids/unpickling.pyx'],
libraries = ['gmp']),

################################
##
Expand Down Expand Up @@ -1651,13 +1661,13 @@ def uname_specific(name, value, alternative):
Extension('sage.rings.finite_rings.element_givaro',
sources = ["sage/rings/finite_rings/element_givaro.pyx"],
# this order is needed to compile under windows.
libraries = ['givaro', 'ntl', 'gmpxx', 'gmp', 'm'],
libraries = ['givaro', 'ntl', 'pari', 'gmpxx', 'gmp', 'm'],
language='c++',
extra_compile_args = givaro_extra_compile_args),

Extension('sage.rings.finite_rings.element_ntl_gf2e',
sources = ['sage/rings/finite_rings/element_ntl_gf2e.pyx'],
libraries = ['ntl', 'gmp'],
libraries = ['ntl', 'pari', 'gmp'],
language = 'c++'),

Extension('sage.rings.finite_rings.element_pari_ffelt',
Expand Down Expand Up @@ -1892,7 +1902,7 @@ def uname_specific(name, value, alternative):
Extension('sage.rings.polynomial.pbori',
sources = ['sage/rings/polynomial/pbori.pyx'],
libraries=['polybori-' + polybori_major_version,
'polybori_groebner-' + polybori_major_version, 'm4ri', 'png12'],
'polybori_groebner-' + polybori_major_version, 'm4ri', 'gd', 'png12'],
include_dirs = [SAGE_INC, "sage/libs/polybori"],
depends = [SAGE_INC + "/polybori/" + hd + ".h" for hd in ["polybori", "config"] ] + \
[SAGE_INC + '/m4ri/m4ri.h'],
Expand Down

0 comments on commit fbf812d

Please sign in to comment.