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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

<details>
<summary>Changes</summary>

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


---
Full diff: https://github.com/llvm/llvm-project/pull/67469.diff


3 Files Affected:

- (modified) libc/test/CMakeLists.txt (-11) 
- (modified) libc/test/UnitTest/CMakeLists.txt (+6-1) 
- (modified) libc/test/src/stdlib/CMakeLists.txt (-1) 


``````````diff
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(

``````````

</details>


https://github.com/llvm/llvm-project/pull/67469


More information about the libc-commits mailing list