Skip to content

Commit e1bb35d

Browse files
authored
[bazel] Fix modules build for llvm-libc (speculative) (#143995)
1 parent 70f44ec commit e1bb35d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@ libc_header_library(
16191619
libc_support_library(
16201620
name = "__support_libc_errno",
16211621
hdrs = ["src/__support/libc_errno.h"],
1622+
deps = [
1623+
":__support_macros_config",
1624+
":hdr_errno_macros",
1625+
],
16221626
)
16231627

16241628
libc_support_library(
@@ -1981,6 +1985,9 @@ libc_support_library(
19811985
libc_support_library(
19821986
name = "__support_math_exp_float_constants",
19831987
hdrs = ["src/__support/math/exp_float_constants.h"],
1988+
deps = [
1989+
":__support_macros_config",
1990+
],
19841991
)
19851992

19861993
libc_support_library(

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ libc_test_library(
5858
"//libc:__support_fputil_fp_bits",
5959
"//libc:__support_fputil_fpbits_str",
6060
"//libc:__support_fputil_rounding_mode",
61+
"//libc:__support_libc_errno",
6162
"//libc:__support_macros_config",
6263
"//libc:__support_macros_properties_architectures",
6364
"//libc:__support_macros_properties_types",

0 commit comments

Comments
 (0)