[libc-commits] [PATCH] D106894: [libc] Enable MPFR library for math functions test

Hedin GarcĂ­a via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jul 27 10:46:54 PDT 2021


hedingarcia created this revision.
hedingarcia added reviewers: sivachandra, aeubanks.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
hedingarcia requested review of this revision.

Included more math functions to Windows's entrypoints
and made a cmake option (-DLLVM_LIBC_MPFR_INSTALL_PATH)
where the user can specify the install path where the MPFR
library was built so it can be linked. The try_compile was
moved to LLVMLibCCheckMPFR.cmake, so the variable that is
set after this process can retain its value in other files
of the same parent file. A direct reason for this is for
LIBC_TESTS_CAN_USE_MPFR to be true when the user specifies
MPFR's path and retain its value even after leaving the file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106894

Files:
  libc/CMakeLists.txt
  libc/cmake/modules/LLVMLibCCheckMPFR.cmake
  libc/config/windows/entrypoints.txt
  libc/utils/MPFRWrapper/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106894.362095.patch
Type: text/x-patch
Size: 4402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210727/249ae231/attachment.bin>


More information about the libc-commits mailing list