From 71898246d4287d33d294a7a47cd6bafacc3d376f Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Thu, 2 Mar 2017 22:05:05 +0000 Subject: 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 --- numpy/linalg/setup.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'numpy/linalg/setup.py') 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) -- cgit v1.2.1