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

Commit

Permalink
src/sage/modules: Move Extension options from src/module_list.py to d…
Browse files Browse the repository at this point in the history
…istutils directives
  • Loading branch information
Matthias Koeppe committed May 18, 2020
1 parent 17ca1d7 commit 346bd88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 45 deletions.
46 changes: 1 addition & 45 deletions src/module_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,51 +776,7 @@ def uname_specific(name, value, alternative):
##
################################

Extension('sage.modules.vector_rational_sparse',
sources = ['sage/modules/vector_rational_sparse.pyx']),

Extension('sage.modules.vector_integer_sparse',
sources = ['sage/modules/vector_integer_sparse.pyx']),

Extension('sage.modules.vector_modn_sparse',
sources = ['sage/modules/vector_modn_sparse.pyx']),

Extension('sage.modules.finite_submodule_iter',
sources = ['sage/modules/finite_submodule_iter.pyx']),

Extension('sage.modules.free_module_element',
sources = ['sage/modules/free_module_element.pyx']),

Extension('sage.modules.module',
sources = ['sage/modules/module.pyx']),

Extension('sage.modules.vector_complex_double_dense',
['sage/modules/vector_complex_double_dense.pyx']),

Extension('sage.modules.vector_double_dense',
['sage/modules/vector_double_dense.pyx']),

Extension('sage.modules.vector_integer_dense',
sources = ['sage/modules/vector_integer_dense.pyx']),

Extension('sage.modules.vector_modn_dense',
sources = ['sage/modules/vector_modn_dense.pyx']),

Extension('sage.modules.vector_mod2_dense',
sources = ['sage/modules/vector_mod2_dense.pyx'],
libraries = m4ri_libs + gd_libs + png_libs,
library_dirs = m4ri_library_dirs + gd_library_dirs + png_library_dirs,
include_dirs = m4ri_include_dirs + gd_include_dirs + png_include_dirs,
extra_compile_args = m4ri_extra_compile_args),

Extension('sage.modules.vector_rational_dense',
sources = ['sage/modules/vector_rational_dense.pyx']),

Extension('sage.modules.vector_real_double_dense',
['sage/modules/vector_real_double_dense.pyx']),

Extension('sage.modules.with_basis.indexed_element',
sources = ['sage/modules/with_basis/indexed_element.pyx']),
Extension('*', ['sage/modules/**/*.pyx']),

################################
##
Expand Down
5 changes: 5 additions & 0 deletions src/sage/modules/vector_mod2_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# distutils: libraries = M4RI_LIBRARIES GDLIB_LIBRARIES LIBPNG_LIBRARIES
# distutils: library_dirs = M4RI_LIBDIR GDLIB_LIBDIR LIBPNG_LIBDIR
# distutils: include_dirs = M4RI_INCDIR GDLIB_INCDIR LIBPNG_INCDIR
# distutils: extra_compile_args = M4RI_CFLAGS

"""
Vectors with elements in GF(2)
Expand Down

0 comments on commit 346bd88

Please sign in to comment.