mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 03:39:03 -04:00
Also: - Bundle ipython again; Fedora version is too far ahead. Also have to bundle prompt_toolkit since Fedora version is too far ahead of bundled ipython. - Drop LANGUAGES variable setting, now ignored by the sagemath build system. - Drop unused SAGE_CBLAS variable from /usr/bin/sage. - Do not force the C locale when launching sagemath. - Allow the user to override SAGE_DEBUG in /usr/bin/sage. - Add -ecm, -giac, and -latte patches to fix interactions with external tools. - Add -sigfpe patch from upstream.
128 lines
5.4 KiB
Diff
128 lines
5.4 KiB
Diff
diff -up src/module_list.py.origsrc/module_list.py
|
|
--- src/module_list.py.orig 2018-12-22 16:37:06.000000000 -0700
|
|
+++ src/module_list.py 2019-01-16 09:42:29.021226961 -0700
|
|
@@ -357,16 +357,16 @@ ext_modules = [
|
|
Extension('sage.graphs.matchpoly',
|
|
sources = ['sage/graphs/matchpoly.pyx']),
|
|
|
|
- OptionalExtension("sage.graphs.mcqd",
|
|
- ["sage/graphs/mcqd.pyx"],
|
|
- language = "c++",
|
|
- package = 'mcqd'),
|
|
+# OptionalExtension("sage.graphs.mcqd",
|
|
+# ["sage/graphs/mcqd.pyx"],
|
|
+# language = "c++",
|
|
+# package = 'mcqd'),
|
|
|
|
- OptionalExtension("sage.graphs.bliss",
|
|
- ["sage/graphs/bliss.pyx"],
|
|
- language = "c++",
|
|
- libraries = ['bliss'],
|
|
- package = 'bliss'),
|
|
+# OptionalExtension("sage.graphs.bliss",
|
|
+# ["sage/graphs/bliss.pyx"],
|
|
+# language = "c++",
|
|
+# libraries = ['bliss'],
|
|
+# package = 'bliss'),
|
|
|
|
Extension('sage.graphs.planarity',
|
|
sources = ['sage/graphs/planarity.pyx'],
|
|
@@ -385,10 +385,10 @@ ext_modules = [
|
|
Extension('sage.graphs.graph_decompositions.cutwidth',
|
|
sources = ['sage/graphs/graph_decompositions/cutwidth.pyx']),
|
|
|
|
- OptionalExtension('sage.graphs.graph_decompositions.tdlib',
|
|
- sources = ['sage/graphs/graph_decompositions/tdlib.pyx'],
|
|
- language="c++",
|
|
- package = 'tdlib'),
|
|
+# OptionalExtension('sage.graphs.graph_decompositions.tdlib',
|
|
+# sources = ['sage/graphs/graph_decompositions/tdlib.pyx'],
|
|
+# language="c++",
|
|
+# package = 'tdlib'),
|
|
|
|
Extension('sage.graphs.spanning_tree',
|
|
sources = ['sage/graphs/spanning_tree.pyx']),
|
|
@@ -460,21 +460,20 @@ ext_modules = [
|
|
##
|
|
################################
|
|
|
|
- OptionalExtension('sage.libs.coxeter3.coxeter',
|
|
- sources = ['sage/libs/coxeter3/coxeter.pyx'],
|
|
- include_dirs = [os.path.join(SAGE_INC, 'coxeter')],
|
|
- language="c++",
|
|
- libraries = ['coxeter3'],
|
|
- package = 'coxeter3'),
|
|
+# OptionalExtension('sage.libs.coxeter3.coxeter',
|
|
+# sources = ['sage/libs/coxeter3/coxeter.pyx'],
|
|
+# include_dirs = [os.path.join(SAGE_INC, 'coxeter')],
|
|
+# language="c++",
|
|
+# libraries = ['coxeter3'],
|
|
+# package = 'coxeter3'),
|
|
|
|
Extension('sage.libs.ecl',
|
|
sources = ["sage/libs/ecl.pyx"]),
|
|
|
|
- OptionalExtension("sage.libs.fes",
|
|
+ Extension("sage.libs.fes",
|
|
["sage/libs/fes.pyx"],
|
|
language = "c",
|
|
- libraries = ['fes'],
|
|
- package = 'fes'),
|
|
+ libraries = ['fes']),
|
|
|
|
Extension('sage.libs.flint.flint',
|
|
sources = ["sage/libs/flint/flint.pyx"],
|
|
@@ -840,10 +839,10 @@ ext_modules = [
|
|
Extension('sage.matrix.matrix_window',
|
|
sources = ['sage/matrix/matrix_window.pyx']),
|
|
|
|
- OptionalExtension("sage.matrix.matrix_gfpn_dense",
|
|
- sources = ['sage/matrix/matrix_gfpn_dense.pyx'],
|
|
- libraries = ['mtx'],
|
|
- package = 'meataxe'),
|
|
+# OptionalExtension("sage.matrix.matrix_gfpn_dense",
|
|
+# sources = ['sage/matrix/matrix_gfpn_dense.pyx'],
|
|
+# libraries = ['mtx'],
|
|
+# package = 'meataxe'),
|
|
|
|
Extension('sage.matrix.misc',
|
|
sources = ['sage/matrix/misc.pyx']),
|
|
@@ -1020,26 +1019,25 @@ ext_modules = [
|
|
Extension("sage.numerical.backends.interactivelp_backend",
|
|
["sage/numerical/backends/interactivelp_backend.pyx"]),
|
|
|
|
- OptionalExtension("sage.numerical.backends.gurobi_backend",
|
|
- ["sage/numerical/backends/gurobi_backend.pyx"],
|
|
- libraries = ["gurobi"],
|
|
- condition = os.path.isfile(SAGE_INC + "/gurobi_c.h") and
|
|
- os.path.isfile(SAGE_LOCAL + "/lib/libgurobi.so")),
|
|
+# OptionalExtension("sage.numerical.backends.gurobi_backend",
|
|
+# ["sage/numerical/backends/gurobi_backend.pyx"],
|
|
+# libraries = ["gurobi"],
|
|
+# condition = os.path.isfile(SAGE_INC + "/gurobi_c.h") and
|
|
+# os.path.isfile(SAGE_LOCAL + "/lib/libgurobi.so")),
|
|
|
|
- OptionalExtension("sage.numerical.backends.cplex_backend",
|
|
- ["sage/numerical/backends/cplex_backend.pyx"],
|
|
- libraries = ["cplex"],
|
|
- condition = os.path.isfile(SAGE_INC + "/cplex.h") and
|
|
- os.path.isfile(SAGE_LOCAL + "/lib/libcplex.a")),
|
|
+# OptionalExtension("sage.numerical.backends.cplex_backend",
|
|
+# ["sage/numerical/backends/cplex_backend.pyx"],
|
|
+# libraries = ["cplex"],
|
|
+# condition = os.path.isfile(SAGE_INC + "/cplex.h") and
|
|
+# os.path.isfile(SAGE_LOCAL + "/lib/libcplex.a")),
|
|
|
|
- OptionalExtension("sage.numerical.backends.coin_backend",
|
|
+ Extension("sage.numerical.backends.coin_backend",
|
|
["sage/numerical/backends/coin_backend.pyx"],
|
|
language = 'c++',
|
|
libraries = ["Cbc", "CbcSolver", "Cgl", "Clp", "CoinUtils",
|
|
"OsiCbc", "OsiClp", "Osi"] + lapack_libs,
|
|
library_dirs = lapack_library_dirs,
|
|
- include_dirs = lapack_include_dirs,
|
|
- package = 'cbc'),
|
|
+ include_dirs = lapack_include_dirs),
|
|
|
|
################################
|
|
##
|