1 set(LLVM_LIBC_MPFR_INSTALL_PATH "" CACHE PATH "Path to where MPFR is installed (e.g. C:/src/install or ~/src/install)")
3 if(LLVM_LIBC_MPFR_INSTALL_PATH)
4 set(LIBC_TESTS_CAN_USE_MPFR TRUE)
5 elseif(LIBC_TARGET_ARCHITECTURE_IS_GPU)
6 set(LIBC_TESTS_CAN_USE_MPFR FALSE)
9 LIBC_TESTS_CAN_USE_MPFR
10 ${CMAKE_CURRENT_BINARY_DIR}
12 ${LIBC_SOURCE_DIR}/utils/MPFRWrapper/check_mpfr.cpp