Skip to content

Commit 38895e6

Browse files
[libc][fenv] Remove unnecessary dependencies (#88788)
Remove the fenv macro dependency from the CMake files as the underlying targets do not make use of it. Note that we do not have to worry about [corresponding Bazel targets](https://github.com/llvm/llvm-project/blob/main/utils/bazel/llvm-project-overlay/libc/BUILD.bazel#L1138-L1288), as they look good.
1 parent a79783d commit 38895e6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

libc/src/fenv/CMakeLists.txt

-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ add_entrypoint_object(
1717
HDRS
1818
fesetround.h
1919
DEPENDS
20-
libc.hdr.fenv_macros
2120
libc.src.__support.FPUtil.fenv_impl
2221
COMPILE_OPTIONS
2322
-O2
@@ -30,7 +29,6 @@ add_entrypoint_object(
3029
HDRS
3130
feclearexcept.h
3231
DEPENDS
33-
libc.hdr.fenv_macros
3432
libc.src.__support.FPUtil.fenv_impl
3533
COMPILE_OPTIONS
3634
-O2
@@ -43,7 +41,6 @@ add_entrypoint_object(
4341
HDRS
4442
feraiseexcept.h
4543
DEPENDS
46-
libc.hdr.fenv_macros
4744
libc.src.__support.FPUtil.fenv_impl
4845
COMPILE_OPTIONS
4946
-O2
@@ -56,7 +53,6 @@ add_entrypoint_object(
5653
HDRS
5754
fetestexcept.h
5855
DEPENDS
59-
libc.hdr.fenv_macros
6056
libc.src.__support.FPUtil.fenv_impl
6157
COMPILE_OPTIONS
6258
-O2
@@ -69,7 +65,6 @@ add_entrypoint_object(
6965
HDRS
7066
fegetenv.h
7167
DEPENDS
72-
libc.hdr.fenv_macros
7368
libc.hdr.types.fenv_t
7469
libc.src.__support.FPUtil.fenv_impl
7570
COMPILE_OPTIONS
@@ -83,7 +78,6 @@ add_entrypoint_object(
8378
HDRS
8479
fesetenv.h
8580
DEPENDS
86-
libc.hdr.fenv_macros
8781
libc.hdr.types.fenv_t
8882
libc.src.__support.FPUtil.fenv_impl
8983
COMPILE_OPTIONS
@@ -111,7 +105,6 @@ add_entrypoint_object(
111105
HDRS
112106
fesetexcept.h
113107
DEPENDS
114-
libc.hdr.fenv_macros
115108
libc.src.__support.FPUtil.fenv_impl
116109
COMPILE_OPTIONS
117110
-O2
@@ -166,7 +159,6 @@ add_entrypoint_object(
166159
HDRS
167160
feenableexcept.h
168161
DEPENDS
169-
libc.hdr.fenv_macros
170162
libc.src.__support.FPUtil.fenv_impl
171163
COMPILE_OPTIONS
172164
-O2
@@ -179,7 +171,6 @@ add_entrypoint_object(
179171
HDRS
180172
fedisableexcept.h
181173
DEPENDS
182-
libc.hdr.fenv_macros
183174
libc.src.__support.FPUtil.fenv_impl
184175
COMPILE_OPTIONS
185176
-O2
@@ -192,7 +183,6 @@ add_entrypoint_object(
192183
HDRS
193184
fegetexcept.h
194185
DEPENDS
195-
libc.hdr.fenv_macros
196186
libc.src.__support.FPUtil.fenv_impl
197187
COMPILE_OPTIONS
198188
-O2

0 commit comments

Comments
 (0)