diff options
author | mattip <matti.picus@gmail.com> | 2022-08-11 10:19:02 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2022-08-21 18:26:10 +0300 |
commit | c35cb18f3e20c3b072adfc2f1bed86e6ca89d172 (patch) | |
tree | 0726433fcc22563fe5e04e0435d0c714b2585988 /numpy/core/setup_common.py | |
parent | aceba280d9484e5f7e66967bbf7c047aa6ded3fe (diff) | |
download | numpy-c35cb18f3e20c3b072adfc2f1bed86e6ca89d172.tar.gz |
restore HAVE_LOG2 for cygwin blocklistingw
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index d618fac69..141b62e76 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -122,13 +122,16 @@ for file in [ # Mandatory functions: if not found, fail the build MANDATORY_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", "floor", "ceil", "sqrt", "log10", "log", "exp", "asin", - "acos", "atan", "fmod", 'modf', 'frexp', 'ldexp'] - -# Some of these are C99 functions. -MANDATORY_FUNCS += ["expm1", "log1p", "acosh", "asinh", "atanh", - "rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow", + "acos", "atan", "fmod", 'modf', 'frexp', 'ldexp', + "expm1", "log1p", "acosh", "asinh", "atanh", + "rint", "trunc", "exp2", "hypot", "atan2", "pow", "copysign", "nextafter", "strtoll", "strtoull", "cbrt"] +OPTIONAL_STDFUNCS = [ + # cygwin + "log2", +] + OPTIONAL_LOCALE_FUNCS = ["strtold_l"] OPTIONAL_FILE_FUNCS = ["ftello", "fseeko", "fallocate"] OPTIONAL_MISC_FUNCS = ["backtrace", "madvise"] |