| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Bare except is very rarely the right thing
|
|
|
|
|
| |
blas specified in site.cfg could have non-standard include dirs.
It should be read and saved in distutils/__config__.py
|
|
|
|
| |
Closes gh-8293.
|
|
|
|
| |
Also clean up some unused variables.
|
| |
|
|
|
|
|
| |
The PIPE in the tests caused a ResourceWarning during testing in
python 3.
|
| |
|
|
|
|
|
|
| |
Before, the list of libraries was resorted to match the order of
library_dirs. Now, the opposite occurs: library_dirs is resorted to
match the library order.
|
|
|
|
| |
Reference: https://software.intel.com/en-us/node/528500
|
| |
|
|
|
|
| |
Closes #7572 inability to install in virtualenvs with percent in their path.
|
|\
| |
| | |
ENH: add support for BLIS to numpy.distutils
|
| | |
|
| | |
|
|\ \
| |/
|/| |
BLD: Switch order of test for lapack_mkl and openblas_lapack
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR fixes the case when users create a site.cfg to fix
library locations, but does not change the library names.
Now numpy.distutils correctly checks all options related to
libraries by defaulting to the library from the class via _lib_names
Signed-off-by: Nick Papior <nickpapior@gmail.com>
|
| |
| |
| |
| |
| | |
empty strings are the default for the new rpath,
extra_compile_args and extra_link_args sections
|
| | |
|
| |
| |
| |
| | |
Closes gh-6863.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fallback CBLAS detection was removed in gh-6183 because it led to
problems on windows when mingw was used with python compiled with msvc
but msvc was not installed. As a result of that fix, CBLAS detection
failed for some Linux installations. The solution here is to add back
the fallback detection but make it specific to non-windows platforms.
Closes #6675.
|
|/ |
|
| |
|
|\
| |
| | |
BLD: Intel distutils fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
behavior affect at least python 3.5 and SciPy build and build failed.
During initialization <python>.distutils.MSVCCompiler replace Intel
environment('include' and 'lib' paths). This fix decorate 'initialize'
function in MSVCCompiler and extend 'lib' and 'include' environment
variables. Changed compilation keys: generate optimized code
specialized for Intel processors with SSE4.2 support.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
The extra_link_args is sadly not intrinsically used
for many parts of the system_info code.
This commit adds the linking properties stored
when using extra_link_args in the openblas section
to bypass any difficulties in the usage of OpenBLAS.
This is especially helpful when linking against external
LAPACK libraries which requires -lgfortran and possibly
-lm for correct linking.
|
|
|
|
|
|
|
|
| |
This raises DistutilsPlatformError when mingw32 is used as the default
ccompiler is msvc. That is fixable, but does not seem worth the trouble
as looking for a cblas.h file for a last effort to detect cblas seems a
bit fragile in any case. I think it is better handled elsewhere on a
case by case basis in combination with site.cfg.
|
|\
| |
| | |
BLD, ENH: Reading of extra flags from site.cfg to extend flexibility
|
| |
| |
| |
| | |
Changed all lists to strings
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The original distutils assumes runtime_library_dirs to
be located in rpath, however, the internal structures assumes
the keyword to be runtime_library_dirs.
For now numpy.distutils handles both equivalently.
The test has been updated to also test the rpath solution.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
More corrections pointed out by Ralf
Changed the get_standard_file to a fully temporary
file. This means that the __init__ diverges a bit
from the system_info object. However, it only has
to do with the setup for the test. All internal things
regarding the object have not been altered.
I have checked on my box that all files/directories are removed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changed self.assert* to assert_ instances through numpys
own testing utilities.
Fixes for the rst document.
Removed unnecessary import statements in the test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Addition to the distutils module to be able
to read in more optional arguments and flags
from the site.cfg file.
Currently are these additional options read:
runtime_library_dirs:
It allows users to set the runtime
library directories so that LD_LIBRARY_PATH can be ignored.
This has the same format as the library_dirs option.
extra_compile_args:
This allows the user to add specific compiler
flags when compiling sources.
There will be no formatting/checking of these additional compile
flags, the compiler should complain if something is wrong.
extra_link_args:
This allows the user to add specific linker flags
when linking the .so objects.
There will be no formatting/checking of these additional compile
flags, the linker should complain if something is wrong.
When the config is runned it automatically prints out the
read in information, thereby allowing the user to see
what has been set and what has not.
Tested with and without flags to check that it builds correctly.
|
|/ |
|
|\
| |
| | |
ENH: Add support for ATLAS > 3.9.33.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recent ATLAS combines the previous libraries into two
* libsatlas -- single threaded.
* libtatlas -- threaded.
This fix is a bit of hack in that ATLAS > 3.9.33 is treated as a new,
separate library covered by atlas_3_10_info, but the latter derived
from atlas_info, which treats the cblas, atlas, and atlas_lapack
libraries separately, so the new info has a bit of repetition.
The alternative would be to rewrite atlas_info, but that can wait
on a larger cleanup of the build system.
Closes #3774.
|
| |
| |
| |
| |
| | |
Allows building against system installed blas library that might be
optimized.
|
|/
|
|
|
|
|
|
| |
The current system works for MKL and OpenBLAS by default because the
mkl_info and openblas_info classes in numpy/distutils/system_info do not
define the macro 'NO_ATLAS_INFO=1' that currently signals the absence of
CBLAS. This PR declares the presence of CBLAS directly by defining the
'HAVE_CBLAS' macro.
|
|
|
|
|
|
|
|
| |
add openblas_lapack info which checks if it embedds lapack so
lapack_info will point to openblas
the normal openblas info does not check so it may or may not embed
lapack.
closes gh-4192
|
|
|
|
|
|
| |
the get_libs function assumes there is no default to return the default
it was asked to return in that case.
Closes gh-4607
|
| |
|
|
|
|
|
|
|
|
|
| |
The documented libraries tag in the site.cfg is not read by the configuration,
instead openblas_libs is used, this is inconsistent with atlas configuration.
So libraries first and then try openblas_libs for backward compatibility.
Also ensure check_libs returns None instead of a dict of empty lists if
nothing is found.
|
|
|
|
| |
https://github.com/numpy/numpy/issues/3995
|
| |
|
|
|
|
| |
string ending in x86_64, for instance 'macosx-10.8-x86_64'.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
An error is raised by setuptools when trying to write to /dev/null. Was fixed
in distribute, but not in setuptools.
No multi-arch support with plain setuptools should be OK, because multi-arch is
Ubuntu specific (at least for now), and they ship distribute.
|