Skip to content

Commit 07af740

Browse files
authored
[bazel][libc] Add missing parse headers deps (#150295)
I believe this is from #150087 and #144983, but I didn't confirm specific commits.
1 parent 9d11acc commit 07af740

File tree

1 file changed

+43
-38
lines changed

1 file changed

+43
-38
lines changed

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

Lines changed: 43 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ libc_support_library(
10981098
":__support_cpp_bit",
10991099
":__support_cpp_type_traits",
11001100
":__support_fputil_cast",
1101+
":__support_fputil_comparison_operations",
11011102
":__support_fputil_dyadic_float",
11021103
":__support_macros_config",
11031104
":__support_macros_properties_types",
@@ -1172,6 +1173,7 @@ libc_support_library(
11721173
name = "__support_fputil_rounding_mode",
11731174
hdrs = ["src/__support/FPUtil/rounding_mode.h"],
11741175
deps = [
1176+
":__support_cpp_type_traits",
11751177
":__support_macros_attributes",
11761178
":__support_macros_config",
11771179
":hdr_fenv_macros",
@@ -1932,8 +1934,8 @@ libc_support_library(
19321934
srcs = ["src/math/generic/common_constants.cpp"],
19331935
hdrs = ["src/math/generic/common_constants.h"],
19341936
deps = [
1935-
":__support_math_exp_constants",
19361937
":__support_math_acosh_float_constants",
1938+
":__support_math_exp_constants",
19371939
":__support_number_pair",
19381940
],
19391941
)
@@ -2016,10 +2018,10 @@ libc_support_library(
20162018
":__support_fputil_fma",
20172019
":__support_fputil_multiply_add",
20182020
":__support_fputil_nearest_integer",
2019-
":__support_math_exp_utils",
2020-
":__support_math_exp10f_utils",
2021-
":__support_math_acoshf_utils",
20222021
":__support_macros_properties_cpu_features",
2022+
":__support_math_acoshf_utils",
2023+
":__support_math_exp10f_utils",
2024+
":__support_math_exp_utils",
20232025
":common_constants",
20242026
],
20252027
)
@@ -2071,16 +2073,15 @@ libc_support_library(
20712073
":__support_fputil_cast",
20722074
":__support_fputil_fp_bits",
20732075
":__support_fputil_nearest_integer",
2074-
":__support_math_expf16_utils",
20752076
":__support_math_exp10_float16_constants",
2077+
":__support_math_expf16_utils",
20762078
],
20772079
)
20782080

20792081
libc_support_library(
20802082
name = "__support_math_acos",
20812083
hdrs = ["src/__support/math/acos.h"],
20822084
deps = [
2083-
":__support_math_asin_utils",
20842085
":__support_fputil_double_double",
20852086
":__support_fputil_dyadic_float",
20862087
":__support_fputil_fenv_impl",
@@ -2089,22 +2090,23 @@ libc_support_library(
20892090
":__support_fputil_polyeval",
20902091
":__support_fputil_sqrt",
20912092
":__support_macros_optimization",
2092-
":__support_macros_properties_types",
20932093
":__support_macros_properties_cpu_features",
2094+
":__support_macros_properties_types",
2095+
":__support_math_asin_utils",
20942096
],
20952097
)
20962098

20972099
libc_support_library(
20982100
name = "__support_math_acosf",
20992101
hdrs = ["src/__support/math/acosf.h"],
21002102
deps = [
2101-
":__support_math_inv_trigf_utils",
21022103
":__support_fputil_except_value_utils",
21032104
":__support_fputil_fp_bits",
21042105
":__support_fputil_multiply_add",
21052106
":__support_fputil_polyeval",
21062107
":__support_fputil_sqrt",
21072108
":__support_macros_optimization",
2109+
":__support_math_inv_trigf_utils",
21082110
],
21092111
)
21102112

@@ -2113,6 +2115,7 @@ libc_support_library(
21132115
hdrs = ["src/__support/math/acosf16.h"],
21142116
deps = [
21152117
":__support_fputil_cast",
2118+
":__support_fputil_except_value_utils",
21162119
":__support_fputil_fma",
21172120
":__support_fputil_multiply_add",
21182121
":__support_fputil_nearest_integer",
@@ -2134,31 +2137,30 @@ libc_support_library(
21342137
name = "__support_math_acoshf_utils",
21352138
hdrs = ["src/__support/math/acoshf_utils.h"],
21362139
deps = [
2137-
":__support_math_acosh_float_constants",
21382140
":__support_fputil_fp_bits",
21392141
":__support_fputil_multiply_add",
21402142
":__support_fputil_polyeval",
2143+
":__support_math_acosh_float_constants",
21412144
],
21422145
)
21432146

21442147
libc_support_library(
21452148
name = "__support_math_acoshf",
21462149
hdrs = ["src/__support/math/acoshf.h"],
21472150
deps = [
2148-
":__support_math_acoshf_utils",
21492151
":__support_fputil_fenv_impl",
21502152
":__support_fputil_fp_bits",
21512153
":__support_fputil_multiply_add",
21522154
":__support_fputil_sqrt",
21532155
":__support_macros_optimization",
2156+
":__support_math_acoshf_utils",
21542157
],
21552158
)
21562159

21572160
libc_support_library(
21582161
name = "__support_math_acoshf16",
21592162
hdrs = ["src/__support/math/acoshf16.h"],
21602163
deps = [
2161-
":__support_math_acoshf_utils",
21622164
":__support_fputil_cast",
21632165
":__support_fputil_except_value_utils",
21642166
":__support_fputil_fenv_impl",
@@ -2167,19 +2169,20 @@ libc_support_library(
21672169
":__support_fputil_polyeval",
21682170
":__support_fputil_sqrt",
21692171
":__support_macros_optimization",
2172+
":__support_math_acoshf_utils",
21702173
],
21712174
)
21722175

21732176
libc_support_library(
21742177
name = "__support_math_asin_utils",
21752178
hdrs = ["src/__support/math/asin_utils.h"],
21762179
deps = [
2177-
":__support_integer_literals",
21782180
":__support_fputil_double_double",
21792181
":__support_fputil_dyadic_float",
21802182
":__support_fputil_multiply_add",
21812183
":__support_fputil_nearest_integer",
21822184
":__support_fputil_polyeval",
2185+
":__support_integer_literals",
21832186
":__support_macros_optimization",
21842187
],
21852188
)
@@ -2188,6 +2191,8 @@ libc_support_library(
21882191
name = "__support_math_erff",
21892192
hdrs = ["src/__support/math/erff.h"],
21902193
deps = [
2194+
":__support_fputil_except_value_utils",
2195+
":__support_fputil_fp_bits",
21912196
":__support_fputil_multiply_add",
21922197
":__support_fputil_polyeval",
21932198
":__support_macros_optimization",
@@ -2228,7 +2233,7 @@ libc_support_library(
22282233
":__support_fputil_nearest_integer",
22292234
":__support_fputil_polyeval",
22302235
":__support_macros_attributes",
2231-
":llvm_libc_macros_float16_macros"
2236+
":llvm_libc_macros_float16_macros",
22322237
],
22332238
)
22342239

@@ -2237,7 +2242,6 @@ libc_support_library(
22372242
hdrs = ["src/__support/math/expf16.h"],
22382243
deps = [
22392244
":__support_common",
2240-
":__support_libc_errno",
22412245
":__support_cpp_array",
22422246
":__support_fputil_cast",
22432247
":__support_fputil_except_value_utils",
@@ -2247,39 +2251,40 @@ libc_support_library(
22472251
":__support_fputil_nearest_integer",
22482252
":__support_fputil_polyeval",
22492253
":__support_fputil_rounding_mode",
2254+
":__support_libc_errno",
22502255
":__support_macros_optimization",
22512256
":__support_math_expf16_utils",
2252-
":llvm_libc_macros_float16_macros"
2257+
":llvm_libc_macros_float16_macros",
22532258
],
22542259
)
22552260

22562261
libc_support_library(
22572262
name = "__support_math_frexpf128",
22582263
hdrs = ["src/__support/math/frexpf128.h"],
22592264
deps = [
2260-
":__support_macros_properties_types",
22612265
":__support_fputil_manipulation_functions",
2266+
":__support_macros_properties_types",
22622267
],
22632268
)
22642269

22652270
libc_support_library(
22662271
name = "__support_math_inv_trigf_utils",
22672272
hdrs = ["src/__support/math/inv_trigf_utils.h"],
22682273
deps = [
2274+
":__support_common",
22692275
":__support_fputil_multiply_add",
22702276
":__support_fputil_polyeval",
2271-
":__support_common",
22722277
],
22732278
)
22742279

22752280
libc_support_library(
22762281
name = "__support_math_frexpf16",
22772282
hdrs = ["src/__support/math/frexpf16.h"],
22782283
deps = [
2284+
":__support_fputil_manipulation_functions",
22792285
":__support_macros_config",
22802286
":__support_macros_properties_types",
2281-
":__support_fputil_manipulation_functions",
2282-
":llvm_libc_macros_float16_macros"
2287+
":llvm_libc_macros_float16_macros",
22832288
],
22842289
)
22852290

@@ -2297,17 +2302,17 @@ libc_support_library(
22972302
deps = [
22982303
":__support_fputil_manipulation_functions",
22992304
":__support_macros_properties_types",
2300-
":llvm_libc_types_float128"
2305+
":llvm_libc_types_float128",
23012306
],
23022307
)
23032308

23042309
libc_support_library(
23052310
name = "__support_math_ldexpf16",
23062311
hdrs = ["src/__support/math/ldexpf16.h"],
23072312
deps = [
2308-
":__support_macros_properties_types",
23092313
":__support_fputil_manipulation_functions",
2310-
":llvm_libc_macros_float16_macros"
2314+
":__support_macros_properties_types",
2315+
":llvm_libc_macros_float16_macros",
23112316
],
23122317
)
23132318

@@ -2331,8 +2336,8 @@ libc_support_library(
23312336
name = "__support_math_exp_utils",
23322337
hdrs = ["src/__support/math/exp_utils.h"],
23332338
deps = [
2334-
":__support_cpp_optional",
23352339
":__support_cpp_bit",
2340+
":__support_cpp_optional",
23362341
":__support_fputil_fp_bits",
23372342
],
23382343
)
@@ -2341,10 +2346,9 @@ libc_support_library(
23412346
name = "__support_math_exp",
23422347
hdrs = ["src/__support/math/exp.h"],
23432348
deps = [
2344-
":__support_math_exp_constants",
2345-
":__support_math_exp_utils",
23462349
":__support_cpp_bit",
23472350
":__support_cpp_optional",
2351+
":__support_fputil_double_double",
23482352
":__support_fputil_dyadic_float",
23492353
":__support_fputil_fenv_impl",
23502354
":__support_fputil_fp_bits",
@@ -2353,18 +2357,17 @@ libc_support_library(
23532357
":__support_fputil_polyeval",
23542358
":__support_fputil_rounding_mode",
23552359
":__support_fputil_triple_double",
2356-
":__support_fputil_double_double",
23572360
":__support_integer_literals",
23582361
":__support_macros_optimization",
2362+
":__support_math_exp_constants",
2363+
":__support_math_exp_utils",
23592364
],
23602365
)
23612366

23622367
libc_support_library(
23632368
name = "__support_math_exp10",
23642369
hdrs = ["src/__support/math/exp10.h"],
23652370
deps = [
2366-
":__support_math_exp_constants",
2367-
":__support_math_exp_utils",
23682371
":__support_fputil_double_double",
23692372
":__support_fputil_dyadic_float",
23702373
":__support_fputil_multiply_add",
@@ -2374,19 +2377,21 @@ libc_support_library(
23742377
":__support_fputil_triple_double",
23752378
":__support_integer_literals",
23762379
":__support_macros_optimization",
2380+
":__support_math_exp_constants",
2381+
":__support_math_exp_utils",
23772382
],
23782383
)
23792384

23802385
libc_support_library(
23812386
name = "__support_math_exp10f_utils",
23822387
hdrs = ["src/__support/math/exp10f_utils.h"],
23832388
deps = [
2389+
":__support_common",
23842390
":__support_fputil_basic_operations",
23852391
":__support_fputil_fenv_impl",
23862392
":__support_fputil_multiply_add",
23872393
":__support_fputil_nearest_integer",
23882394
":__support_fputil_polyeval",
2389-
":__support_common",
23902395
":__support_math_exp_utils",
23912396
],
23922397
)
@@ -2395,12 +2400,12 @@ libc_support_library(
23952400
name = "__support_math_exp10f",
23962401
hdrs = ["src/__support/math/exp10f.h"],
23972402
deps = [
2398-
":__support_math_exp10f_utils",
23992403
":__support_fputil_fenv_impl",
24002404
":__support_fputil_fp_bits",
24012405
":__support_fputil_multiply_add",
24022406
":__support_fputil_rounding_mode",
24032407
":__support_macros_optimization",
2408+
":__support_math_exp10f_utils",
24042409
],
24052410
)
24062411

@@ -2416,23 +2421,23 @@ libc_support_library(
24162421
name = "__support_math_exp10f16_utils",
24172422
hdrs = ["src/__support/math/exp10f16_utils.h"],
24182423
deps = [
2424+
":__support_fputil_fp_bits",
24192425
":__support_math_exp10_float16_constants",
24202426
":__support_math_expf16_utils",
2421-
":__support_fputil_fp_bits",
24222427
],
24232428
)
24242429

24252430
libc_support_library(
24262431
name = "__support_math_exp10f16",
24272432
hdrs = ["src/__support/math/exp10f16.h"],
24282433
deps = [
2429-
":__support_math_exp10f16_utils",
2430-
":__support_fputil_fp_bits",
24312434
":__support_fputil_cast",
2432-
":__support_fputil_rounding_mode",
24332435
":__support_fputil_except_value_utils",
2436+
":__support_fputil_fp_bits",
2437+
":__support_fputil_rounding_mode",
24342438
":__support_macros_optimization",
24352439
":__support_macros_properties_cpu_features",
2440+
":__support_math_exp10f16_utils",
24362441
],
24372442
)
24382443

@@ -3004,7 +3009,7 @@ libc_math_function(name = "dsubf128")
30043009
libc_math_function(
30053010
name = "erff",
30063011
additional_deps = [
3007-
":__support_math_erff"
3012+
":__support_math_erff",
30083013
],
30093014
)
30103015

@@ -3475,13 +3480,13 @@ libc_math_function(
34753480
name = "frexpf128",
34763481
additional_deps = [
34773482
":__support_math_frexpf128",
3478-
]
3483+
],
34793484
)
34803485

34813486
libc_math_function(
34823487
name = "frexpf16",
34833488
additional_deps = [
3484-
":__support_math_frexpf16"
3489+
":__support_math_frexpf16",
34853490
],
34863491
)
34873492

@@ -3576,7 +3581,7 @@ libc_math_function(
35763581
name = "ldexpf",
35773582
additional_deps = [
35783583
":__support_math_ldexpf",
3579-
]
3584+
],
35803585
)
35813586

35823587
libc_math_function(name = "ldexpl")

0 commit comments

Comments
 (0)