Skip to content

Commit 3436701

Browse files
authored
[bazel][libc] Port #156344: complex macros (#157003)
1 parent cc19bc7 commit 3436701

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ libc_support_library(
121121

122122
################################# Include Files ################################
123123

124+
libc_support_library(
125+
name = "llvm_libc_macros_complex_macros",
126+
hdrs = [
127+
"include/llvm-libc-macros/cfloat128-macros.h",
128+
"include/llvm-libc-macros/cfloat16-macros.h",
129+
"include/llvm-libc-macros/complex-macros.h",
130+
],
131+
deps = [":llvm_libc_macros_float_macros"],
132+
)
133+
124134
libc_support_library(
125135
name = "llvm_libc_macros_math_macros",
126136
hdrs = ["include/llvm-libc-macros/math-macros.h"],
@@ -168,12 +178,16 @@ libc_support_library(
168178
libc_support_library(
169179
name = "llvm_libc_types_cfloat128",
170180
hdrs = ["include/llvm-libc-types/cfloat128.h"],
171-
deps = [":llvm_libc_macros_float_macros"],
181+
deps = [
182+
":llvm_libc_macros_complex_macros",
183+
":llvm_libc_macros_float_macros",
184+
],
172185
)
173186

174187
libc_support_library(
175188
name = "llvm_libc_types_cfloat16",
176189
hdrs = ["include/llvm-libc-types/cfloat16.h"],
190+
deps = [":llvm_libc_macros_complex_macros"],
177191
)
178192

179193
libc_support_library(

0 commit comments

Comments
 (0)