[libc-commits] [libc] e9074d0 - [libc] Fix missing dependency and linking option for sqrtf exhaustive test.

Tue Ly via libc-commits libc-commits at lists.llvm.org
Wed Jun 28 05:14:14 PDT 2023


Author: Tue Ly
Date: 2023-06-28T08:13:53-04:00
New Revision: e9074d019e13b7ac658f5d3f39135e1cba00e625

URL: https://github.com/llvm/llvm-project/commit/e9074d019e13b7ac658f5d3f39135e1cba00e625
DIFF: https://github.com/llvm/llvm-project/commit/e9074d019e13b7ac658f5d3f39135e1cba00e625.diff

LOG: [libc] Fix missing dependency and linking option for sqrtf exhaustive test.

Added: 
    

Modified: 
    libc/test/src/math/exhaustive/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/math/exhaustive/CMakeLists.txt b/libc/test/src/math/exhaustive/CMakeLists.txt
index f3f0c279795b1..dc01a195a7497 100644
--- a/libc/test/src/math/exhaustive/CMakeLists.txt
+++ b/libc/test/src/math/exhaustive/CMakeLists.txt
@@ -15,9 +15,12 @@ add_fp_unittest(
   SRCS
     sqrtf_test.cpp
   DEPENDS
+    .exhaustive_test
     libc.include.math
     libc.src.math.sqrtf
     libc.src.__support.FPUtil.fp_bits
+  LINK_LIBRARIES
+    -lpthread
 )
 
 add_fp_unittest(


        


More information about the libc-commits mailing list