[all-commits] [llvm/llvm-project] 8baa87: [libc] Enable MPFR library for math functions test

HedGarcia via All-commits all-commits at lists.llvm.org
Tue Jul 27 13:40:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8baa87d91811a3da0dc69550b84a773d98902c8b
      https://github.com/llvm/llvm-project/commit/8baa87d91811a3da0dc69550b84a773d98902c8b
  Author: Hedin Garca <hedingarcia at google.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M libc/CMakeLists.txt
    A libc/cmake/modules/LLVMLibCCheckMPFR.cmake
    M libc/config/windows/README.md
    M libc/config/windows/entrypoints.txt
    M libc/utils/MPFRWrapper/CMakeLists.txt

  Log Message:
  -----------
  [libc] Enable MPFR library for math functions test

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.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106894




More information about the All-commits mailing list