diff options
author | Pauli Virtanen <pav@iki.fi> | 2020-01-02 02:50:10 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2020-01-14 00:19:50 +0200 |
commit | d611d2e3722ea9ba4ae1a6e333a02ab8c4005f85 (patch) | |
tree | c5da148629e49f96e1ebcf793947d23e2f48c533 /numpy/linalg/lapack_lite/python_xerbla.c | |
parent | 33d5be08046c2e8a3cbbd35f3c2367f925ee2bdc (diff) | |
download | numpy-d611d2e3722ea9ba4ae1a6e333a02ab8c4005f85.tar.gz |
MAINT: linalg: use symbol suffix in fallback lapack_lite
When building the fallback lapack_lite library for numpy.linalg,
add symbol suffix to the routines when using 64-bit integer indices.
Adjust the lapack_lite generator script to also output a header file
that renames the symbols. Moreover, also rename symbols from f2c.c, to
be sure (because they have short and generic names that may clash).
This avoids a name clash with BLAS/LAPACK names, which can cause
problems in corner cases on platforms where inadvertent symbol
overriding in dynamic libraries can occur.
Diffstat (limited to 'numpy/linalg/lapack_lite/python_xerbla.c')
-rw-r--r-- | numpy/linalg/lapack_lite/python_xerbla.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/linalg/lapack_lite/python_xerbla.c b/numpy/linalg/lapack_lite/python_xerbla.c index 4dbb92e1f..fe2f718b2 100644 --- a/numpy/linalg/lapack_lite/python_xerbla.c +++ b/numpy/linalg/lapack_lite/python_xerbla.c @@ -2,9 +2,6 @@ #include "numpy/npy_common.h" #include "npy_cblas.h" -#undef c_abs -#include "f2c.h" - /* From the original manpage: -------------------------- |