[libc-commits] [libc] [libc][Obvious] Remove the previous ErrnoSetterMatcher target. (PR #67469)
Siva Chandra via libc-commits
libc-commits at lists.llvm.org
Tue Sep 26 11:01:12 PDT 2023
https://github.com/sivachandra created https://github.com/llvm/llvm-project/pull/67469
A target still depending on the old target has been updated.
>From dfe58d344dba197652a65de2711bf47955a3ea1d Mon Sep 17 00:00:00 2001
From: Siva Chandra Reddy <sivachandra at google.com>
Date: Tue, 26 Sep 2023 17:55:06 +0000
Subject: [PATCH] [libc][Obvious] Remove the previous ErrnoSetterMatcher
target.
A target still depending on the old target has been updated.
---
libc/test/CMakeLists.txt | 11 -----------
libc/test/UnitTest/CMakeLists.txt | 7 ++++++-
libc/test/src/stdlib/CMakeLists.txt | 1 -
3 files changed, 6 insertions(+), 13 deletions(-)
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