[libc] [llvm] [APFloat] Add exp function for APFloat::IEEESsingle using expf implementation from LLVM libc. (PR #143959)

Joshua Cranmer via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 12:03:17 PDT 2025


================
@@ -379,3 +379,9 @@ if(LLVM_WITH_Z3)
     ${Z3_INCLUDE_DIR}
     )
 endif()
+
+if(LLVM_INTEGRATE_LIBC)
+  set_property(TARGET LLVMSupport PROPERTY CXX_STANDARD 17)
+  target_include_directories(LLVMSupport PRIVATE "${LLVM_INCLUDE_DIR}/../../libc")
----------------
jcranmer-intel wrote:

I tested this build locally, and somehow the way this was declared caused a fatal include error trying to build APFloat.cpp, complaining that it couldn't find shared/math.h

https://github.com/llvm/llvm-project/pull/143959


More information about the llvm-commits mailing list