summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2013-04-10 19:35:13 +0300
committerPauli Virtanen <pav@iki.fi>2013-04-10 22:48:12 +0300
commit9c00887ba60c0c3c4ae7ad349c6f43831c3ae353 (patch)
tree9ef486fffb47a605e09edfb84ced7f17c63bdd3e /numpy/core/setup.py
parent9bfa19b11f38b5fe710d872db6a8628fc6a72359 (diff)
downloadnumpy-9c00887ba60c0c3c4ae7ad349c6f43831c3ae353.tar.gz
MAINT: move umath_linalg under numpy/linalg and use the same lapack_lite
Also, link umath_linalg against the system BLAS/LAPACK if available.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index a3c61b482..4e4630eb0 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -926,38 +926,6 @@ def configuration(parent_package='',top_path=None):
sources = [join('src','umath', 'umath_tests.c.src')])
#######################################################################
- # umath_linalg module #
- #######################################################################
-
- lapack_info = get_info('lapack_opt', 0)
- def get_lapack_lite_sources(ext, build_dir):
- if not lapack_info:
- print("### Warning: Using unoptimized lapack ###")
- return ext.depends[:-1]
- else:
- if sys.platform=='win32':
- print("### Warning: python_xerbla.c is disabled ###")
- return ext.depends[:1]
- return ext.depends[:2]
-
- config.add_extension('_umath_linalg',
- sources = [get_lapack_lite_sources,
- join('src', 'umath', 'umath_linalg.c.src'),
- join('src', 'umath', 'lapack_lite', 'python_xerbla.c'),
- join('src', 'umath', 'lapack_lite', 'zlapack_lite.c'),
- join('src', 'umath', 'lapack_lite', 'dlapack_lite.c'),
- join('src', 'umath', 'lapack_lite', 'blas_lite.c'),
- join('src', 'umath', 'lapack_lite', 'dlamch.c'),
- join('src', 'umath', 'lapack_lite', 'f2c_lite.c')
- ],
- depends = [join('src', 'umath', '_gufuncs_linalg.py'),
- join('src', 'umath', 'lapack_lite', 'f2c.h'),
- ],
- extra_info = lapack_info,
- libraries = ['npymath'],
- )
-
- #######################################################################
# multiarray_tests module #
#######################################################################