We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1d5fa commit e5ccc71Copy full SHA for e5ccc71
libc/cmake/modules/LLVMLibCCheckMPFR.cmake
@@ -13,6 +13,6 @@ else()
13
SOURCES
14
${LIBC_SOURCE_DIR}/utils/MPFRWrapper/check_mpfr.cpp
15
LINK_LIBRARIES
16
- -lmpfr -lgmp
+ -lmpfr -lgmp -latomic
17
)
18
endif()
libc/test/src/CMakeLists.txt
@@ -24,7 +24,7 @@ function(add_fp_unittest name)
24
message(FATAL_ERROR "Hermetic math test cannot require MPFR.")
25
26
set(test_type UNIT_TEST_ONLY)
27
- list(APPEND MATH_UNITTEST_LINK_LIBRARIES libcMPFRWrapper -lmpfr -lgmp)
+ list(APPEND MATH_UNITTEST_LINK_LIBRARIES libcMPFRWrapper -lmpfr -lgmp -latomic)
28
29
list(APPEND MATH_UNITTEST_LINK_LIBRARIES LibcFPTestHelpers)
30
0 commit comments