summaryrefslogtreecommitdiff
path: root/numpy/linalg/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Raise C++ standard to C++17Sayed Adel2023-04-041-2/+0
|
* Update comment according to seberg's reviewHood Chatham2022-06-121-1/+3
|
* Fix lintHood Chatham2022-06-121-1/+1
|
* Handle windowsHood Chatham2022-06-121-1/+6
|
* Update numpy/linalg/setup.pyHood Chatham2022-06-111-1/+1
| | | Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* ENH: Fix pointer size determination for cross buildHood Chatham2022-06-111-1/+2
| | | | | | | | | Using `sys` to ask about the build Python is hostile to cross building because it is very hard to replace the sys module with one that gives info about the target system. On the other hand, the sysconfig data can be replaced by setting _PYTHON_SYSCONFIGDATA_NAME. So instead of using `sys.maxsize` to determine pointer size, use `sysconfig.get_config_var("SIZEOF_VOID_P")`
* Introduce numpy.core.setup_common.NPY_CXX_FLAGSserge-sans-paille2022-04-081-4/+2
| | | | | | | | | Group all C++ flags in one location. This avoids redundancy and makes sure we test the flags we use, and use the flags we test. Fix #21302
* [Road to C++] Rename linalg/umath_linalg.cpp.src into linalg/umath_linalg.cppserge-sans-paille2022-03-301-1/+5
| | | | It no longer uses any @template construct.
* [Road to C++] First step toward numpy/linalg/umath_linalg.c.src conversionserge-sans-paille2022-03-291-1/+1
| | | | | | As it's a large file, I've first handled the C++ conversion part while keeping Numpy templating system. The switch to C++ template is to be done in another commit.
* MAINT: remove unused importsAlessia Marcolini2021-10-081-2/+1
|
* BLD: Enable Accelerate FrameworkMatthew Badin2021-04-281-5/+0
|
* BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packagesBas van Beek2020-11-031-0/+1
|
* BUILD: Remove Accelerate support (#15759)Matti Picus2020-05-221-1/+7
| | | | | | | Remove support for Apple Accelerate, since it is buggy. A build error should occur on most or all setups if linked against Accelerate. Test or import failures should occur on setups where Accelerate is picked up dynamically. Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
* Mark tests as a subpackage rather than data.Hameer Abbasi2020-05-061-1/+1
|
* Merge pull request #15224 from pv/lapack-lite-symrenameMatti Picus2020-01-201-2/+7
|\ | | | | MAINT: linalg: use symbol suffix in fallback lapack_lite
| * MAINT: linalg: use symbol suffix in fallback lapack_litePauli Virtanen2020-01-141-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
|/ | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* MAINT: indicate in numpy.__config__ when fallback lapack_lite is usedPauli Virtanen2020-01-011-5/+16
| | | | | Make numpy.__config__.show() to print information about the fallback lapack_lite library when it is used.
* ENH: build fallback lapack_lite with 64-bit integers on 64-bit platformsPauli Virtanen2020-01-011-0/+4
| | | | | Build the lapack fallback library (used when no LAPACK installed) with 64-bit integer size when building on a 64-bit platform.
* ENH: distutils: add support for ILP64 OpenBLAS (generic symbol suffix)Pauli Virtanen2019-12-141-4/+2
| | | | | | | | | | | | | | | | | | | Generalize the ILP64 BLAS/LAPACK symbol name handling to deal with arbitrary prefix/suffix. The build-time behavior is changed so that HAVE_BLAS_ILP64 and BLAS_SYMBOL_SUFFIX/PREFIX defines are added to compile options as appropriate. Mainly to make autodetection of BLAS/LAPACK easier for downstream numpy.distutils users, add get_info aliases 'blas_ilp64_opt', 'blas_ilp64_plain_opt', and 'blas64__opt' for any/no/""&"64_" prefix&suffix, and the same for lapack. (Due to the way system_info works, each also gets a separate class.) In addition to openblas64_ which has a fixed suffix, add the (by default suffixless) openblas_ilp64, which correspond to the most likely cases to be present.
* ENH: core: add LAPACK64_ support in numpy.linalgPauli Virtanen2019-11-291-1/+6
|
* MAINT: Prefer to load functions from lapack/install if possibleEric Wieser2017-03-021-1/+1
| | | | | | | | | | | | | | Previously, the dlamch function was a manually-edited file, precluding autogeneration. We fix this by putting the manual edits in a patch file, and then generating f2c_config.c from install/*.f, which includes dlamch. While these functions exist in more than once place in lapack 3.0.0, they only exist in lapack/install in newer versions. A side effect of this is that some functions have been pulled out of `f2c_blas.c` and `f2c_s_lapack.c` into this new file. The edits in the patch were introduced in cadbb5f2ec84cb774023bbe8cbe6f39a93e837d7, for a reason that is lost to time.
* MAINT: Split up the lapack_lite files more sensiblyEric Wieser2017-03-021-4/+7
| | | | | | | | | | | | | | | | | | 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
* STY: Make numpy/linalg/setup.py PEP8 compliantRonan Lamy2015-10-021-16/+17
|
* MAINT: Simplify numpy/linalg/setup.pyRonan Lamy2015-10-021-8/+8
| | | | | | Compute the sources required to build extensions lapack_lite and _umath_linalg in a more direct way that doesn't rely on abusing the 'depends' argument to config.add_extension().
* STY: Giant comma spacing fixup.Charles Harris2013-08-181-2/+2
| | | | | | | Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
* STY: Giant whitespace cleanup.Charles Harris2013-08-181-2/+2
| | | | Now is as good a time as any with open PR's at a low.
* MAINT: move umath_linalg under numpy/linalg and use the same lapack_litePauli Virtanen2013-04-101-5/+23
| | | | Also, link umath_linalg against the system BLAS/LAPACK if available.
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+1
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* Make linalg setup.py runnable under python3.David Cournapeau2009-12-031-2/+2
|
* Rename and reformat pythonxerbla.Stefan van der Walt2008-04-281-2/+2
|
* Fix import error.Pearu Peterson2008-04-091-0/+2
|
* Disable pythonxerbla.c patch for win32 (the MSVC linker failes on multiple ↵Pearu Peterson2008-04-091-0/+3
| | | | defined symbols) when using optimized lapack.
* Fixing compile error from MSVC.Pearu Peterson2008-04-091-1/+1
|
* Apply modified patch from ticket 673. The patch is effective when using ↵Pearu Peterson2008-04-091-4/+5
| | | | unoptimized lapack shipped with numpy [tested] or if optimized lapack library does not have xerbla_ defined [not tested]
* Clean up setup() calls.Pearu Peterson2007-05-111-1/+1
|
* clean up unused imports and bad whitespaceTim Leslie2007-01-091-2/+0
|
* numpy.linalg.setup.py: include the test casescookedm2006-07-141-0/+2
|
* Run reindent.py (script distributed with Python) over the source to remove ↵cookedm2006-03-101-1/+1
| | | | extraneous whitespace
* Change most setup.py filesTravis Oliphant2006-01-041-4/+4
|
* rename sub-packagesTravis Oliphant2006-01-041-0/+31