Skip to content

Commit

Permalink
revert detection for meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Dec 25, 2022
1 parent ed7efc7 commit c29b0e0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
19 changes: 19 additions & 0 deletions numpy/core/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,25 @@
#mesondefine HAVE_CLOGL
#mesondefine HAVE_CPOWL
#mesondefine HAVE_CSQRTL
/* FreeBSD */
#mesondefine HAVE_CSINF
#mesondefine HAVE_CSINHF
#mesondefine HAVE_CCOSF
#mesondefine HAVE_CCOSHF
#mesondefine HAVE_CTANF
#mesondefine HAVE_CTANHF
#mesondefine HAVE_CSIN
#mesondefine HAVE_CSINH
#mesondefine HAVE_CCOS
#mesondefine HAVE_CCOSH
#mesondefine HAVE_CTAN
#mesondefine HAVE_CTANH
#mesondefine HAVE_CSINL
#mesondefine HAVE_CSINHL
#mesondefine HAVE_CCOSL
#mesondefine HAVE_CCOSHL
#mesondefine HAVE_CTANL
#mesondefine HAVE_CTANHL

#mesondefine NPY_CAN_LINK_SVML
#mesondefine NPY_RELAXED_STRIDES_DEBUG
Expand Down
6 changes: 5 additions & 1 deletion numpy/core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ endforeach

c99_complex_funcs = [
'cabs', 'cacos', 'cacosh', 'carg', 'casin', 'casinh', 'catan',
'catanh', 'cexp', 'clog', 'cpow', 'csqrt'
'catanh', 'cexp', 'clog', 'cpow', 'csqrt',
# The long double variants (like csinl) should be mandatory on C11,
# but are missing in FreeBSD. Issue gh-22850
'csin', 'csinh', 'ccos', 'ccosh', 'ctan', 'ctanh',

]
foreach func: c99_complex_funcs
func_single = func + 'f'
Expand Down

0 comments on commit c29b0e0

Please sign in to comment.