From 9bde3880d7de3db54e44f29071462bf2dbbee1e7 Mon Sep 17 00:00:00 2001 From: mattip Date: Thu, 20 Oct 2022 17:56:10 +0300 Subject: MAINT: refactor mandatory npymath functions to #define macros --- numpy/core/setup_common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/core/setup_common.py') diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 55daa8648..085c0baf5 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -122,6 +122,8 @@ for file in [ set_sig(line) # Mandatory functions: if not found, fail the build +# Some of these can still be blocklisted if the C99 implementation +# is buggy, see numpy/core/src/common/npy_config.h MANDATORY_FUNCS = [ "sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", "floor", "ceil", "sqrt", "log10", "log", "exp", "asin", -- cgit v1.2.1