| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
| |
Closes #3405
|
|\
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
The version check flag for GnuFCompiler and Gnu95FCompiler were changed from
`--version` to `-dumpversion`. This simplifies the gnu_version_match code for
gfortran, and makes it possible to drop much of the check code for g77 as
well. This fix addresses issue #5315 and #5321.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow extensions using numpy.distutils to compile in parallel.
By passing `--jobs=n` or `-j n` to `setup.py build` the compilation of
extensions is now performed in `n` parallel processes.
Additionally the environment variable NPY_NUM_BUILD_JOBS is used as
the default value, if its unset the default is serial compilation.
The parallelization is limited to within the files of an extension, so
only numpy multiarraymodule really profits but its still a nice
improvement when you have 2-4 cores.
Unfortunately Cython will not profit at all as it tends to build one
module per file.
|
| |
| |
| |
| |
| | |
minimum requirement is python2.6, this allows removing a couple 2.3 and
2.4 checks.
|
| |
| |
| |
| |
| |
| | |
Define it as NPY_RESTRICT
Restrict indicates a memory block does not alias, gcc supports it in c89
with the __restrict__ keyword.
|
| |
| |
| |
| | |
removes about 400 lines of warnings from the build logs
|
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | | |
support rpath for GNU Fortran compiler.
|
| |/ |
|
|\ \
| | |
| | | |
BLD: add debug information to gfortran builds
|
| |/
| |
| |
| | |
Similar to C builds which always have debug info.
|
|\ \
| | |
| | | |
BLD: fix build issues with MSVC10 on Windows. Closes gh-4245.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note that there are a few similar patches posted to gh-4101 and gh-4245.
Those were all patches to msvc9compiler in Python distutils.
Monkeypatching ``MSVCCompiler.link`` is less easy than this change
to ``config._check_compiler``; effect should be the same.
Also updates the error message shown when initializing MSVC fails.
[ci skip]
|
| | |
|
| | |
|
| |
| |
| |
| | |
attributes.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This private variable has disappeared in later versions of setuptools.
In older versions of setuptools it is the same as
distutils.command.install.install, so use that instead.
Closes #4664.
|
|
|
|
| |
makes attribute checks more sane and allows adding nonnull
|
|
|
|
|
|
|
|
|
| |
The "-Wl,-undefined,dynamic_lookup" flag is enough to make things work
with OS X bundles. On the mailing list an issue was reported with
Anaconda (non-framework build) where f2py was picking up the system framework
Python instead of the Anaconda one.
Thanks to Robert Kern for explaining how to fix this.
|
|
|
| |
Fixes scipy test failures.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Cray and other HPC vendors provide patched versions of the GNU compilers
with modified version strings. Use re.search instead of re.match in the
version detection scripts to account for modified version strings.
Ref: https://github.com/numpy/numpy/issues/4259
|
|
|
| |
The uppercase source extension '.FOR' is also commonly used.
|
|\
| |
| | |
Allow checking two or more fortran compilers instead of one.
|
| | |
|
|/
|
|
| |
https://github.com/numpy/numpy/issues/3995
|
| |
|
|\
| |
| | |
Remove numarray and oldnumeric
|
| |
| |
| |
| |
| | |
This covers those locations that either import or build numarray
or numeric.
|
| |
| |
| |
| | |
string ending in x86_64, for instance 'macosx-10.8-x86_64'.
|
|/
|
|
| |
probably irrelevant by now, but emits a warning during compilation.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Now is as good a time as any with open PR's at a low.
|
| |
|
|
|
|
|
| |
The logging message in numpy.distutils.log.set_threshold
mispelled threshold.
|
|
|
|
|
|
|
|
| |
The custom build compiler "GNU Fortran (rubenvb-4.8.0) 4.8.0" was
incorrectly parsed as version '-4.8.0' and the flag "-mno-cygwin" was
added to the compilation.
See http://cens.ioc.ee/pipermail/f2py-users/2010-October/002092.html.
|
|
|
|
| |
This function is no longer required for building with msvc on AMD64
|