diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-01-20 09:33:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 09:33:59 +1100 |
commit | eee751e74803c894b39a62d5843334762f53ed6f (patch) | |
tree | 9a8dd0583f6a186a9c8e40f9f0a9b483c3442bdc /numpy/linalg/setup.py | |
parent | 06a19d6a362af2508d1e11dce47eb2d18a419383 (diff) | |
parent | 89aa3ef992f8ee1633b16495ad5854fa7e8653ce (diff) | |
download | numpy-eee751e74803c894b39a62d5843334762f53ed6f.tar.gz |
Merge pull request #15224 from pv/lapack-lite-symrename
MAINT: linalg: use symbol suffix in fallback lapack_lite
Diffstat (limited to 'numpy/linalg/setup.py')
-rw-r--r-- | numpy/linalg/setup.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/numpy/linalg/setup.py b/numpy/linalg/setup.py index 66eed41b0..acfab0a68 100644 --- a/numpy/linalg/setup.py +++ b/numpy/linalg/setup.py @@ -38,8 +38,13 @@ def configuration(parent_package='', top_path=None): def calc_info(self): info = {'language': 'c'} if sys.maxsize > 2**32: - # Build lapack-lite in 64-bit integer mode - info['define_macros'] = [('HAVE_BLAS_ILP64', None)] + # Build lapack-lite in 64-bit integer mode. + # The suffix is arbitrary (lapack_lite symbols follow it), + # but use the "64_" convention here. + info['define_macros'] = [ + ('HAVE_BLAS_ILP64', None), + ('BLAS_SYMBOL_SUFFIX', '64_') + ] self.set_info(**info) lapack_info = numpy_linalg_lapack_lite().get_info(2) |