[libc-commits] [libc] [libc][math] Add LIBC_CONF_MATH_USE_SYSTEM_FENV / LIBC_MATH_USE_SYSTEM_FENV (PR #172902)
via libc-commits
libc-commits at lists.llvm.org
Mon Dec 22 08:16:11 PST 2025
================
@@ -123,6 +123,14 @@ function(_get_compile_options_from_config output_var)
list(APPEND config_options "-DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=${LIBC_CONF_RAW_MUTEX_DEFAULT_SPIN_COUNT}")
endif()
+ if(LIBC_CONF_MATH_USE_SYSTEM_FENV)
+ if(MSVC)
+ list(APPEND config_options "/DLIBC_MATH_USE_SYSTEM_FENV")
+ else()
----------------
lntue wrote:
Yes, I'll create a followup PR for this.
https://github.com/llvm/llvm-project/pull/172902
More information about the libc-commits
mailing list