summaryrefslogtreecommitdiff
path: root/numpy/linalg/setup.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-03-02 22:05:05 +0000
committerEric Wieser <wieser.eric@gmail.com>2017-03-02 22:24:10 +0000
commit71898246d4287d33d294a7a47cd6bafacc3d376f (patch)
treeb810ef473d43ddbacd578c067dcfdc423b4c6b59 /numpy/linalg/setup.py
parent9c09f0105b6a62c0dfe9167fa78c0fb59878e222 (diff)
downloadnumpy-71898246d4287d33d294a7a47cd6bafacc3d376f.tar.gz
MAINT: Split up the lapack_lite files more sensibly
Also uses this splitting as an excuse to ditch the _lite suffix, in favor of a f2c_ prefix for all generated files. Before: * `zlapack_lite.c` - Functions for the `complex128` type. * `dlapack_lite.c` - Every other lapack function After: * `f2c_z_lapack.c` - Functions for the `complex128` type. * `f2c_c_lapack.c` - Functions for the `complex64` type. * `f2c_d_lapack.c` - Functions for the `float64` type. * `f2c_s_lapack.c` - Functions for the `float32` type. * `f2c_lapack.c` - Every other lapack function
Diffstat (limited to 'numpy/linalg/setup.py')
-rw-r--r--numpy/linalg/setup.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/numpy/linalg/setup.py b/numpy/linalg/setup.py
index adc8f1784..6c2d8d0ca 100644
--- a/numpy/linalg/setup.py
+++ b/numpy/linalg/setup.py
@@ -15,11 +15,14 @@ def configuration(parent_package='', top_path=None):
src_dir = 'lapack_lite'
lapack_lite_src = [
os.path.join(src_dir, 'python_xerbla.c'),
- os.path.join(src_dir, 'zlapack_lite.c'),
- os.path.join(src_dir, 'dlapack_lite.c'),
- os.path.join(src_dir, 'blas_lite.c'),
+ os.path.join(src_dir, 'f2c_z_lapack.c'),
+ os.path.join(src_dir, 'f2c_c_lapack.c'),
+ os.path.join(src_dir, 'f2c_d_lapack.c'),
+ os.path.join(src_dir, 'f2c_s_lapack.c'),
+ os.path.join(src_dir, 'f2c_lapack.c'),
+ os.path.join(src_dir, 'f2c_blas.c'),
+ os.path.join(src_dir, 'f2c.c'),
os.path.join(src_dir, 'dlamch.c'),
- os.path.join(src_dir, 'f2c_lite.c'),
]
all_sources = config.paths(lapack_lite_src)