mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-10 23:18:51 -04:00
Also: - Create the sagemath-data-combinatorial_designs subpackage. - Create the sagemath-notebook-export subpackage. - Unbundle the LaTeX makecmds style. - Install LaTeX style files in a more canonical place.
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
diff -up src/module_list.py.orig src/module_list.py
|
|
--- src/module_list.py.orig 2018-05-16 14:13:22.021406801 -0600
|
|
+++ src/module_list.py 2018-05-16 14:15:57.654208949 -0600
|
|
@@ -12,7 +12,7 @@ SAGE_INC = '/usr/include'
|
|
import pkgconfig
|
|
|
|
# CBLAS can be one of multiple implementations
|
|
-cblas_pc = pkgconfig.parse('cblas')
|
|
+cblas_pc = pkgconfig.parse('atlas')
|
|
cblas_libs = cblas_pc['libraries']
|
|
cblas_library_dirs = cblas_pc['library_dirs']
|
|
cblas_include_dirs = cblas_pc['include_dirs']
|
|
@@ -21,11 +21,9 @@ cblas_include_dirs = cblas_pc['include_d
|
|
if os.path.exists('/usr/lib/libblas.dll.a'):
|
|
cblas_libs = ['gslcblas']
|
|
|
|
-# LAPACK can be one of multiple implementations
|
|
-lapack_pc = pkgconfig.parse('lapack')
|
|
-lapack_libs = lapack_pc['libraries']
|
|
-lapack_library_dirs = lapack_pc['library_dirs']
|
|
-lapack_include_dirs = lapack_pc['include_dirs']
|
|
+lapack_libs = [ 'lapack' ]
|
|
+lapack_library_dirs = []
|
|
+lapack_include_dirs = [ SAGE_INC + '/lapack' ]
|
|
|
|
# GD image library
|
|
gd_pc = pkgconfig.parse('gdlib')
|
|
diff -up src/sage/misc/cython.py.orig src/sage/misc/cython.py
|
|
--- src/sage/misc/cython.py.orig 2018-05-16 13:16:29.207708998 -0600
|
|
+++ src/sage/misc/cython.py 2018-05-16 14:15:57.656208921 -0600
|
|
@@ -40,7 +40,7 @@ from sage.misc.sage_ostools import resto
|
|
|
|
|
|
# CBLAS can be one of multiple implementations
|
|
-cblas_pc = pkgconfig.parse('cblas')
|
|
+cblas_pc = pkgconfig.parse('atlas')
|
|
cblas_libs = list(cblas_pc['libraries'])
|
|
cblas_library_dirs = list(cblas_pc['library_dirs'])
|
|
cblas_include_dirs = list(cblas_pc['include_dirs'])
|