Skip to content

Commit b7a2ff2

Browse files
committed
[libc] Fix layering for bazel
1 parent b4e35c6 commit b7a2ff2

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,9 +799,10 @@ libc_math_function(
799799
name = "expm1f",
800800
additional_deps = [
801801
":__support_fputil_fma",
802-
":__support_fputil_nearest_integer",
803802
":__support_fputil_multiply_add",
803+
":__support_fputil_nearest_integer",
804804
":__support_fputil_polyeval",
805+
":__support_macros_properties_cpu_features",
805806
":common_constants",
806807
],
807808
)
@@ -912,9 +913,10 @@ libc_math_function(
912913
name = "tanhf",
913914
additional_deps = [
914915
":__support_fputil_fma",
915-
":__support_fputil_nearest_integer",
916916
":__support_fputil_multiply_add",
917+
":__support_fputil_nearest_integer",
917918
":__support_fputil_polyeval",
919+
":__support_macros_properties_cpu_features",
918920
":common_constants",
919921
":explogxf",
920922
],
@@ -962,10 +964,11 @@ libc_math_function(
962964
name = "asinf",
963965
additional_deps = [
964966
":__support_fputil_fma",
965-
":__support_fputil_nearest_integer",
966967
":__support_fputil_multiply_add",
968+
":__support_fputil_nearest_integer",
967969
":__support_fputil_polyeval",
968970
":__support_fputil_sqrt",
971+
":__support_macros_properties_cpu_features",
969972
":inv_trigf_utils",
970973
],
971974
)
@@ -1145,6 +1148,7 @@ libc_math_function(
11451148
additional_deps = [
11461149
":__support_fputil_fma",
11471150
":__support_fputil_multiply_add",
1151+
":__support_macros_properties_cpu_features",
11481152
":sincosf_utils",
11491153
],
11501154
)
@@ -1154,6 +1158,7 @@ libc_math_function(
11541158
additional_deps = [
11551159
":__support_fputil_fma",
11561160
":__support_fputil_multiply_add",
1161+
":__support_macros_properties_cpu_features",
11571162
":sincosf_utils",
11581163
],
11591164
)
@@ -1164,6 +1169,7 @@ libc_math_function(
11641169
":__support_fputil_fma",
11651170
":__support_fputil_multiply_add",
11661171
":__support_fputil_polyeval",
1172+
":__support_macros_properties_cpu_features",
11671173
":range_reduction",
11681174
":sincosf_utils",
11691175
],
@@ -1176,6 +1182,7 @@ libc_math_function(
11761182
":__support_fputil_multiply_add",
11771183
":__support_fputil_nearest_integer",
11781184
":__support_fputil_polyeval",
1185+
":__support_macros_properties_cpu_features",
11791186
":range_reduction",
11801187
":sincosf_utils",
11811188
],

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ libc_test(
4444
deps = [
4545
"//libc:__support_common",
4646
"//libc:__support_fputil_fenv_impl",
47+
"//libc:__support_macros_properties_architectures",
4748
"//libc/test/UnitTest:fp_test_helpers",
4849
],
4950
)
@@ -58,6 +59,7 @@ libc_test(
5859
deps = [
5960
"//libc:__support_common",
6061
"//libc:__support_fputil_fenv_impl",
62+
"//libc:__support_macros_properties_architectures",
6163
"//libc/test/UnitTest:fp_test_helpers",
6264
],
6365
)
@@ -95,6 +97,7 @@ libc_test(
9597
],
9698
deps = [
9799
"//libc:__support_common",
100+
"//libc:__support_macros_properties_architectures",
98101
],
99102
)
100103

0 commit comments

Comments
 (0)