From c7d1163554e36d16530cf64eebe447f3062b24b5 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 18 Oct 2024 12:28:15 +0200 Subject: [PATCH] [bazel] Port 7be4ab0a86f9a52f1b49dad5665617441ec24a2e --- .../llvm-project-overlay/libc/BUILD.bazel | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index 8f3bbe68648f..1abc0ccda4c7 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -103,6 +103,17 @@ libc_support_library( deps = [":llvm_libc_macros_float_macros"], ) +libc_support_library( + name = "llvm_libc_types_cfloat128", + hdrs = ["include/llvm-libc-types/cfloat128.h"], + deps = [":llvm_libc_macros_float_macros"], +) + +libc_support_library( + name = "llvm_libc_types_cfloat16", + hdrs = ["include/llvm-libc-types/cfloat16.h"], +) + libc_support_library( name = "llvm_libc_macros_fcntl_macros", hdrs = ["include/llvm-libc-macros/linux/fcntl-macros.h"], @@ -268,6 +279,16 @@ libc_support_library( hdrs = ["src/__support/macros/properties/os.h"], ) +libc_support_library( + name = "__support_macros_properties_complex_types", + hdrs = ["src/__support/macros/properties/complex_types.h"], + deps = [ + ":__support_macros_properties_types", + ":llvm_libc_types_cfloat128", + ":llvm_libc_types_cfloat16", + ], +) + libc_support_library( name = "__support_macros_properties_types", hdrs = ["src/__support/macros/properties/types.h"], @@ -493,6 +514,7 @@ libc_support_library( deps = [ ":__support_macros_attributes", ":__support_macros_config", + ":__support_macros_properties_complex_types", ":__support_macros_properties_types", ":llvm_libc_macros_stdfix_macros", ],