summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed NotImplementedError for MinGW-w64Juan Luis Cano Rodríguez2014-12-291-1/+1
| | | Closes #3405
* Merge pull request #5364 from charris/detect_atlas_3_10Charles Harris2014-12-241-3/+80
|\ | | | | ENH: Add support for ATLAS > 3.9.33.
| * ENH: Add support for ATLAS > 3.9.33.Charles Harris2014-12-241-3/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | BLD: Change Fortran version flag and string checkRyan Nelson2014-12-012-23/+20
| | | | | | | | | | | | | | 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.
* | BUG: missing default None values in getattr(...)Alistair Muldal2014-11-191-3/+3
| |
* | ENH: support parallel compilation of extensionsJulian Taylor2014-10-285-16/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | MAINT: remove obsolete version checksJulian Taylor2014-10-151-6/+2
| | | | | | | | | | minimum requirement is python2.6, this allows removing a couple 2.3 and 2.4 checks.
* | BLD: add check for C99 restrict keywordJulian Taylor2014-09-292-0/+23
| | | | | | | | | | | | Define it as NPY_RESTRICT Restrict indicates a memory block does not alias, gcc supports it in c89 with the __restrict__ keyword.
* | MAINT: make main a strict prototype in configure checksJulian Taylor2014-09-091-6/+6
| | | | | | | | removes about 400 lines of warnings from the build logs
* | BLD: check for CBLAS header in "unoptimized" blasJulian Taylor2014-09-041-1/+25
| | | | | | | | | | Allows building against system installed blas library that might be optimized.
* | ENH: Add 'HAVE_CBLAS' macro for build purposes.Charles Harris2014-09-041-6/+11
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #4996 from fdiary/gfortran-rpathJulian Taylor2014-08-261-0/+3
|\ \ | | | | | | | | | support rpath for GNU Fortran compiler.
| * | BLD: support rpath for GNU Fortran compiler.Kazuhiko Shiozaki2014-08-261-0/+3
| |/
* | Merge pull request #4988 from juliantaylor/gfortran-debugCharles Harris2014-08-241-4/+5
|\ \ | | | | | | BLD: add debug information to gfortran builds
| * | BLD: add debug information to gfortran buildsJulian Taylor2014-08-241-4/+5
| |/ | | | | | | Similar to C builds which always have debug info.
* | Merge pull request #4892 from rgommers/msvc10-fixJulian Taylor2014-07-201-5/+16
|\ \ | | | | | | BLD: fix build issues with MSVC10 on Windows. Closes gh-4245.
| * | BLD: fix build issues with MSVC10 on Windows. Closes gh-4245.Ralf Gommers2014-07-201-5/+16
| |/ | | | | | | | | | | | | | | | | | | | | 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]
* | REF: remove obsolete code.David Cournapeau2014-07-073-35/+1
| |
* | FEAT: add a check_gcc_variable_attribute function in config command.David Cournapeau2014-07-072-0/+21
| |
* | ENH: use pragma instead of generic warning when detecting for function ↵David Cournapeau2014-07-071-5/+12
| | | | | | | | attributes.
* | BUG: fix check_gcc_function_attribute when attribute is actually supported.David Cournapeau2014-07-061-8/+1
| |
* | FEAT: add check to ensure compilation without warning for a piece of code.David Cournapeau2014-07-062-1/+14
| |
* | FEAT: add check_gcc_function_attribute check.David Cournapeau2014-07-062-1/+22
| |
* | FEAT: add a try_output_compile in numpy.distutils.David Cournapeau2014-07-062-0/+22
|/
* BUG: check if openblas embeds lapackJulian Taylor2014-05-221-1/+47
| | | | | | | | 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
* BUG: don't set a default for libraries configuration keyJulian Taylor2014-05-221-1/+0
| | | | | | the get_libs function assumes there is no default to return the default it was asked to return in that case. Closes gh-4607
* BUG: Fix use of setuptools.command.install._install.Charles Harris2014-05-041-3/+6
| | | | | | | | 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.
* BLD: allow strings for check_func declarationsJulian Taylor2014-04-231-1/+4
| | | | makes attribute checks more sane and allows adding nonnull
* BLD: remove "-Wl,-framework,Python" from linker flags for Intel compiler.Ralf Gommers2014-04-211-1/+1
| | | | | | | | | 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.
* BUG: ifort has issues with optimization flag /O2cgohlke2014-04-081-1/+1
| | | Fixes scipy test failures.
* ENH: Make output of get_atlas_info conditional on system_info.verbosityArnaud Bergeron2014-02-273-9/+9
|
* BUG: get_info('openblas') does not read libraries keyJulian Taylor2014-02-211-2/+4
| | | | | | | | | 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.
* Detect vendor versions of GNU CompilersAron Ahmadia2014-02-041-3/+3
| | | | | | | | 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
* Add '.FOR' to src_extensionsleaz2014-01-051-1/+1
| | | The uppercase source extension '.FOR' is also commonly used.
* Merge pull request #3996 from stromnov/masterCharles Harris2013-11-081-4/+5
|\ | | | | Allow checking two or more fortran compilers instead of one.
| * Allow checking two or more fortran compilers instead of one.Andrew Stromnov2013-11-011-4/+5
| |
* | cross-platform code to find numpy configbbudescu2013-11-071-1/+1
|/ | | | https://github.com/numpy/numpy/issues/3995
* Do not fail with NameError if SandboxViolation is raisedJason Madden2013-09-281-1/+3
|
* Merge pull request #3638 from charris/remove-numarray-and-oldnumericCharles Harris2013-09-281-4/+0
|\ | | | | Remove numarray and oldnumeric
| * DEP, MAINT: Remove references to numeric and numarray.Charles Harris2013-09-231-4/+0
| | | | | | | | | | This covers those locations that either import or build numarray or numeric.
* | Fix platform detection for intel platform where get_platform() returns a ↵Alex Barth2013-09-281-0/+2
| | | | | | | | string ending in x86_64, for instance 'macosx-10.8-x86_64'.
* | BUG: fix wrong gcc version checkJulian Taylor2013-09-271-2/+2
|/ | | | probably irrelevant by now, but emits a warning during compilation.
* Make vecLib / Accelerate not shadow other optimized builds under OSXOlivier Grisel2013-09-041-23/+33
|
* Add support for using openblas for the _dotblas function.Ake Sandgren2013-08-201-1/+23
|
* STY: Giant comma spacing fixup.Charles Harris2013-08-1852-642/+642
| | | | | | | 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-184-5/+5
| | | | Now is as good a time as any with open PR's at a low.
* STY: Break long lines in numpy/distutils/log.py.Charles Harris2013-07-291-5/+16
|
* MAINT: typo fix in logging messageTomas Tomecek2013-07-291-2/+2
| | | | | The logging message in numpy.distutils.log.set_threshold mispelled threshold.
* BUG: Handle a version string from a custom-built mingw64.mwtoews2013-05-292-1/+2
| | | | | | | | 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.
* MAINT: Remove msvc_on_amd64 functionChristoph Gohlke2013-05-222-15/+1
| | | | This function is no longer required for building with msvc on AMD64