Skip to content

Commit

Permalink
BLD: blocklist complex trig functions on musl
Browse files Browse the repository at this point in the history
Signed-off-by: mattip <matti.picus@gmail.com>
  • Loading branch information
mattip committed Nov 9, 2023
1 parent 1d9a6f4 commit cab680c
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion numpy/_core/src/common/npy_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,29 @@
#undef HAVE_CACOSHL

#endif /* __GLIBC_PREREQ(2, 18) */
#endif /* defined(__GLIBC_PREREQ) */
#else /* defined(__GLIBC) */
/* musl linux?, see issue #25092 */

#undef HAVE_CASIN
#undef HAVE_CASINF
#undef HAVE_CASINL
#undef HAVE_CASINH
#undef HAVE_CASINHF
#undef HAVE_CASINHL
#undef HAVE_CATAN
#undef HAVE_CATANF
#undef HAVE_CATANL
#undef HAVE_CATANH
#undef HAVE_CATANHF
#undef HAVE_CATANHL
#undef HAVE_CACOS
#undef HAVE_CACOSF
#undef HAVE_CACOSL
#undef HAVE_CACOSH
#undef HAVE_CACOSHF
#undef HAVE_CACOSHL

#endif /* defined(__GLIBC) */
#endif /* defined(HAVE_FEATURES_H) */

#endif /* NUMPY_CORE_SRC_COMMON_NPY_CONFIG_H_ */

0 comments on commit cab680c

Please sign in to comment.