[libc-commits] [libc] [libc][fenv] Remove unnecessary dependencies (PR #88788)
via libc-commits
libc-commits at lists.llvm.org
Mon Apr 15 13:44:24 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Robin Caloudis (robincaloudis)
<details>
<summary>Changes</summary>
## Why
Not needed.
## What
Remove dependencies from CMake files. We do not have to worry about [Bazel build files](https://github.com/llvm/llvm-project/blob/main/utils/bazel/llvm-project-overlay/libc/BUILD.bazel#L1138-L1288) as these dependencies are not present.
---
Full diff: https://github.com/llvm/llvm-project/pull/88788.diff
1 Files Affected:
- (modified) libc/src/fenv/CMakeLists.txt (-10)
``````````diff
diff --git a/libc/src/fenv/CMakeLists.txt b/libc/src/fenv/CMakeLists.txt
index a28a7ca4c2d821..17e99474120627 100644
--- a/libc/src/fenv/CMakeLists.txt
+++ b/libc/src/fenv/CMakeLists.txt
@@ -17,7 +17,6 @@ add_entrypoint_object(
HDRS
fesetround.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -30,7 +29,6 @@ add_entrypoint_object(
HDRS
feclearexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -43,7 +41,6 @@ add_entrypoint_object(
HDRS
feraiseexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -56,7 +53,6 @@ add_entrypoint_object(
HDRS
fetestexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -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
@@ -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
@@ -111,7 +105,6 @@ add_entrypoint_object(
HDRS
fesetexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -166,7 +159,6 @@ add_entrypoint_object(
HDRS
feenableexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -179,7 +171,6 @@ add_entrypoint_object(
HDRS
fedisableexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
@@ -192,7 +183,6 @@ add_entrypoint_object(
HDRS
fegetexcept.h
DEPENDS
- libc.hdr.fenv_macros
libc.src.__support.FPUtil.fenv_impl
COMPILE_OPTIONS
-O2
``````````
</details>
https://github.com/llvm/llvm-project/pull/88788
More information about the libc-commits
mailing list