diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-05-07 18:06:31 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-05-08 00:29:14 +0200 |
commit | b0ef6aebcbedc2ea528c5f8d09f31f37320b08a2 (patch) | |
tree | de05b1153e4eb97ecb422f4895d064110c19b729 /numpy/core/setup_common.py | |
parent | c8228126ac0a00e058fb5a2c6106184b03d3fbb0 (diff) | |
download | numpy-b0ef6aebcbedc2ea528c5f8d09f31f37320b08a2.tar.gz |
MAINT: check for intrinsics at configure time
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 3f705cbe4..c9f5030f4 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -97,6 +97,11 @@ OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh", "atanh", "rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow", "copysign", "nextafter"] +# optional gcc compiler builtins and their call arguments +OPTIONAL_INTRINSICS = [("__builtin_isnan", '5.'), + ("__builtin_isinf", '5.'), + ("__builtin_isfinite", '5.')] + # Subset of OPTIONAL_STDFUNCS which may alreay have HAVE_* defined by Python.h OPTIONAL_STDFUNCS_MAYBE = ["expm1", "log1p", "acosh", "atanh", "asinh", "hypot", "copysign"] |