8000 BLD: blocklist complex trig functions on musl · numpy/numpy@aadc2c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit aadc2c7

Browse files
mattipmbargull
authored andcommitted
BLD: blocklist complex trig functions on musl
Signed-off-by: mattip <matti.picus@gmail.com>
1 parent 8bbc858 commit aadc2c7

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

numpy/core/src/common/npy_config.h

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,29 @@
160160
#undef HAVE_CACOSHL
161161

162162
#endif /* __GLIBC_PREREQ(2, 18) */
163-
#endif /* defined(__GLIBC_PREREQ) */
163+
#else /* defined(__GLIBC) */
164+
/* musl linux?, see issue #25092 */
164165

166+
#undef HAVE_CASIN
167+
#undef HAVE_CASINF
168+
#undef HAVE_CASINL
169+
#undef HAVE_CASINH
170+
#undef HAVE_CASINHF
171+
#undef HAVE_CASINHL
172+
#undef HAVE_CATAN
173+
#undef HAVE_CATANF
174+
#undef HAVE_CATANL
175+
#undef HAVE_CATANH
176+
#undef HAVE_CATANHF
177+
#undef HAVE_CATANHL
178+
#undef HAVE_CACOS
179+
#undef HAVE_CACOSF
180+
#undef HAVE_CACOSL
181+
#undef HAVE_CACOSH
182+
#undef HAVE_CACOSHF
183+
#undef HAVE_CACOSHL
184+
185+
#endif /* defined(__GLIBC) */
165186
#endif /* defined(HAVE_FEATURES_H) */
166187

167188
#endif /* NUMPY_CORE_SRC_COMMON_NPY_CONFIG_H_ */

0 commit comments

Comments
 (0)
0