[Numpy-svn] [numpy/numpy] 2c5e70: commit BLD: AIX uses the flag _LARGE_FILES to ensu...
GitHub
noreply at github.com
Sat Oct 22 14:11:37 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 2c5e708f7a621bb714fc24c26e33f68afff45637
https://github.com/numpy/numpy/commit/2c5e708f7a621bb714fc24c26e33f68afff45637
Author: Michael Felt <aixtools at gmail.com>
Date: 2016-10-21 (Fri, 21 Oct 2016)
Changed paths:
M numpy/core/setup.py
M numpy/random/setup.py
Log Message:
-----------
commit BLD: AIX uses the flag _LARGE_FILES to ensure proper prototype declarations
The problem this fix resolves is to ensure that 32-bit and 64-bit functions
(e.g., fclear() and fclear64()) to access/manipulate "large files" are
defined properly - much as GNU and other platforms use one or more of
the defines _FILE_OFFSET_BITS, _LARGEFILE_SOURCE, and _LARGEFILE64_SOURCE.
Without this fix the numpy code only defines flags that are not recognized
in the AIX environment and have no effect in anyway.
The fix applies the AIX convention and does not "export" any of the flags
currently exported. For all other platforms the current flags:
_FILE_OFFSET_BITS, _LARGEFILE_SOURCE, and _LARGEFILE64_SOURCE are "exported".
This fix should not have any impact or side-effect based on the version
of python used.
History:
Starting around 1997 AIX started supporting so-called "large files",
i.e., length > signed 32-bit. In the period 1997-1998 the flag _LARGE_FILES
was established to simplify porting 32-bit applications to 64-bit.
The convention is to define _LARGE_FILES before including any
"system include files" either as an argument to ${CC} (e.g., in ${CFLAGS}
or as the first #define in every source file. This is to ensure that
that no relevant function calls would be redefined later in the build process.
Commit: 9ef15659f5003121605ba5096405276dcdf54254
https://github.com/numpy/numpy/commit/9ef15659f5003121605ba5096405276dcdf54254
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
M numpy/random/setup.py
Log Message:
-----------
STY: Fix indentation to follow PEP8
Commit: a5db9403a6ef0bfda4639e387a73ab50c1a84c31
https://github.com/numpy/numpy/commit/a5db9403a6ef0bfda4639e387a73ab50c1a84c31
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-10-22 (Sat, 22 Oct 2016)
Changed paths:
M numpy/core/setup.py
M numpy/random/setup.py
Log Message:
-----------
Merge pull request #8173 from aixtools/issue8118
BLD: Enable build on AIX
Compare: https://github.com/numpy/numpy/compare/9602020f697d...a5db9403a6ef
More information about the Numpy-svn
mailing list