Skip to content

Commit 12b4f54

Browse files
committed
Fix Bazel build
1 parent 066ded2 commit 12b4f54

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,19 @@ libc_support_library(
774774
],
775775
)
776776

777+
libc_support_library(
778+
name = "__support_fputil_cast",
779+
hdrs = ["src/__support/FPUtil/cast.h"],
780+
deps = [
781+
":__support_cpp_algorithm",
782+
":__support_cpp_type_traits",
783+
":__support_fputil_dyadic_float",
784+
":__support_fputil_fp_bits",
785+
":__support_macros_properties_types",
786+
":hdr_fenv_macros",
787+
],
788+
)
789+
777790
libc_support_library(
778791
name = "__support_fputil_division_and_remainder_operations",
779792
hdrs = ["src/__support/FPUtil/DivisionAndRemainderOperations.h"],
@@ -791,9 +804,12 @@ libc_support_library(
791804
hdrs = ["src/__support/FPUtil/except_value_utils.h"],
792805
deps = [
793806
":__support_cpp_optional",
807+
":__support_fputil_cast",
794808
":__support_fputil_fenv_impl",
795809
":__support_fputil_fp_bits",
796810
":__support_fputil_rounding_mode",
811+
":__support_macros_properties_cpu_features",
812+
":__support_macros_properties_types",
797813
],
798814
)
799815

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ libc_support_library(
4646
"//libc:__support_cpp_string_view",
4747
"//libc:__support_cpp_stringstream",
4848
"//libc:__support_cpp_type_traits",
49+
"//libc:__support_fputil_cast",
4950
"//libc:__support_fputil_fp_bits",
5051
"//libc:__support_fputil_fpbits_str",
5152
"//libc:__support_macros_config",

0 commit comments

Comments
 (0)