Skip to content

Commit

Permalink
[libc][fenv] Remove unnecessary dependencies (#88788)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
robincaloudis authored Apr 16, 2024
1 parent a79783d commit 38895e6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions libc/src/fenv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ add_entrypoint_object(
HDRS
fesetround.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand All @@ -30,7 +29,6 @@ add_entrypoint_object(
HDRS
feclearexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand All @@ -43,7 +41,6 @@ add_entrypoint_object(
HDRS
feraiseexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand All @@ -56,7 +53,6 @@ add_entrypoint_object(
HDRS
fetestexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand All @@ -69,7 +65,6 @@ add_entrypoint_object(
HDRS
fegetenv.h
DEPENDS
libc.hdr.fenv_macros
libc.hdr.types.fenv_t
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
Expand All @@ -83,7 +78,6 @@ add_entrypoint_object(
HDRS
fesetenv.h
DEPENDS
libc.hdr.fenv_macros
libc.hdr.types.fenv_t
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
Expand Down Expand Up @@ -111,7 +105,6 @@ add_entrypoint_object(
HDRS
fesetexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand Down Expand Up @@ -166,7 +159,6 @@ add_entrypoint_object(
HDRS
feenableexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand All @@ -179,7 +171,6 @@ add_entrypoint_object(
HDRS
fedisableexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand All @@ -192,7 +183,6 @@ add_entrypoint_object(
HDRS
fegetexcept.h
DEPENDS
libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
Expand Down

0 comments on commit 38895e6

Please sign in to comment.