[libc-commits] [libc] 425defd - [libc][Obvious] Remove the previous ErrnoSetterMatcher target. (#67469)

via libc-commits libc-commits at lists.llvm.org
Tue Sep 26 11:01:26 PDT 2023


Author: Siva Chandra
Date: 2023-09-26T11:01:21-07:00
New Revision: 425defd810ec3c618a1135633d4d120a98b89ef7

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

LOG: [libc][Obvious] Remove the previous ErrnoSetterMatcher target. (#67469)

A target still depending on the old target has been updated.

Added: 
    

Modified: 
    libc/test/CMakeLists.txt
    libc/test/UnitTest/CMakeLists.txt
    libc/test/src/stdlib/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/CMakeLists.txt b/libc/test/CMakeLists.txt
index fbe4ba92fdd47d9..5e8231ef27f461f 100644
--- a/libc/test/CMakeLists.txt
+++ b/libc/test/CMakeLists.txt
@@ -8,17 +8,6 @@ add_custom_target(libc-long-running-tests)
 
 add_subdirectory(UnitTest)
 
-add_header_library(
-  errno_setter_matcher
-  HDRS
-    ErrnoSetterMatcher.h
-  DEPENDS
-    libc.src.__support.common
-    libc.src.__support.FPUtil.fp_bits
-    libc.src.__support.StringUtil.error_to_string
-    libc.src.errno.errno
-)
-
 if(LIBC_TARGET_ARCHITECTURE_IS_GPU AND
    (NOT TARGET libc.utils.gpu.loader OR NOT TARGET libc.startup.gpu.crt1))
   message(WARNING "Cannot build libc GPU tests, missing loader implementation")

diff  --git a/libc/test/UnitTest/CMakeLists.txt b/libc/test/UnitTest/CMakeLists.txt
index aa081706f50227e..4d384535581267d 100644
--- a/libc/test/UnitTest/CMakeLists.txt
+++ b/libc/test/UnitTest/CMakeLists.txt
@@ -165,5 +165,10 @@ add_unittest_framework_library(
 add_header_library(
   ErrnoSetterMatcher
   HDRS
-    ErrnoSetterMatcher
+    ErrnoSetterMatcher.h
+  DEPENDS
+    libc.src.__support.common
+    libc.src.__support.FPUtil.fp_bits
+    libc.src.__support.StringUtil.error_to_string
+    libc.src.errno.errno
 )

diff  --git a/libc/test/src/stdlib/CMakeLists.txt b/libc/test/src/stdlib/CMakeLists.txt
index 3516e0a6e12b5f9..3c2eeeaa36926fa 100644
--- a/libc/test/src/stdlib/CMakeLists.txt
+++ b/libc/test/src/stdlib/CMakeLists.txt
@@ -9,7 +9,6 @@ add_libc_test(
   DEPENDS
     libc.src.errno.errno
     libc.src.stdlib.atof
-    libc.test.errno_setter_matcher
 )
 
 add_header_library(


        


More information about the libc-commits mailing list