From b64727c0ccfe60a2ed668eb1923d60f433558580 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 27 Nov 2022 12:15:46 +0200 Subject: BUILD: revert function() -> #define for 3 npymath functions --- numpy/core/setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'numpy/core/setup.py') diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 10b8c093e..0a5cb5a0f 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -770,7 +770,11 @@ def configuration(parent_package='',top_path=None): # join('src', 'npymath', 'ieee754.cpp'), join('src', 'npymath', 'ieee754.c.src'), join('src', 'npymath', 'npy_math_complex.c.src'), - join('src', 'npymath', 'halffloat.c') + join('src', 'npymath', 'halffloat.c'), + # Remove this once scipy macos arm64 build correctly + # links to the arm64 npymath library, + # see gh-22673 + join('src', 'npymath', 'arm64_exports.c'), ] config.add_installed_library('npymath', -- cgit v1.2.1