Skip to content

Commit ee6d932

Browse files
[libc][bazel] Remove tid tests from bazel (llvm#101109)
In patch llvm#100915 the tid code was reverted. The bazel build wasn't updated, leaving some broken targets. This patch fixes those.
1 parent 3de76e4 commit ee6d932

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,22 +1077,6 @@ libc_support_library(
10771077
],
10781078
)
10791079

1080-
libc_support_library(
1081-
name = "__support_osutil_pid",
1082-
srcs = ["src/__support/OSUtil/linux/pid.cpp"],
1083-
hdrs = ["src/__support/OSUtil/pid.h"],
1084-
target_compatible_with = select({
1085-
"@platforms//os:linux": [],
1086-
"//conditions:default": ["@platforms//:incompatible"],
1087-
}),
1088-
deps = [
1089-
":__support_macros_attributes",
1090-
":__support_macros_optimization",
1091-
":__support_osutil_syscall",
1092-
":types_pid_t",
1093-
],
1094-
)
1095-
10961080
libc_support_library(
10971081
name = "__support_stringutil",
10981082
srcs = glob(["src/__support/StringUtil/tables/**/*.h"]) + [
@@ -3043,20 +3027,6 @@ libc_function(
30433027
],
30443028
)
30453029

3046-
libc_function(
3047-
name = "getpid",
3048-
srcs = ["src/unistd/linux/getpid.cpp"],
3049-
hdrs = ["src/unistd/getpid.h"],
3050-
deps = [
3051-
":__support_common",
3052-
":__support_macros_config",
3053-
":__support_osutil_pid",
3054-
":__support_osutil_syscall",
3055-
":errno",
3056-
":types_pid_t",
3057-
],
3058-
)
3059-
30603030
libc_function(
30613031
name = "getppid",
30623032
srcs = ["src/unistd/linux/getppid.cpp"],

utils/bazel/llvm-project-overlay/libc/test/src/unistd/BUILD.bazel

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,6 @@ libc_test(
261261
# ],
262262
# )
263263

264-
libc_test(
265-
name = "getpid_test",
266-
srcs = ["getpid_test.cpp"],
267-
libc_function_deps = [
268-
"//libc:getpid",
269-
],
270-
)
271264

272265
libc_test(
273266
name = "getppid_test",

0 commit comments

Comments
 (0)