Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2022-03-03 13:46:01 +0300
committerSiva Chandra Reddy <sivachandra@google.com>2022-03-03 19:27:46 +0300
commitc8b614cd74a92d85936aed5ac7c642af75ffdc29 (patch)
treeadc98327d0c61440b83388d33d2024b87780797e /libc
parent473efae3a18fd6dcbf00d95de3fa22a7294f31c0 (diff)
[libc][Obvious] Add a few missing deps listings.
Diffstat (limited to 'libc')
-rw-r--r--libc/src/__support/CMakeLists.txt15
-rw-r--r--libc/src/__support/FPUtil/CMakeLists.txt1
-rw-r--r--libc/src/__support/File/CMakeLists.txt2
3 files changed, 11 insertions, 7 deletions
diff --git a/libc/src/__support/CMakeLists.txt b/libc/src/__support/CMakeLists.txt
index c1fa9c5661b2..f70803dcd704 100644
--- a/libc/src/__support/CMakeLists.txt
+++ b/libc/src/__support/CMakeLists.txt
@@ -16,13 +16,6 @@ add_header_library(
)
add_header_library(
- high_precision_decimal
- HDRS
- high_precision_decimal.h
-
-)
-
-add_header_library(
str_to_integer
HDRS
str_to_integer.h
@@ -34,6 +27,14 @@ add_header_library(
)
add_header_library(
+ high_precision_decimal
+ HDRS
+ high_precision_decimal.h
+ DEPENDS
+ .str_to_integer
+)
+
+add_header_library(
str_to_float
HDRS
str_to_float.h
diff --git a/libc/src/__support/FPUtil/CMakeLists.txt b/libc/src/__support/FPUtil/CMakeLists.txt
index d02cd9fcce0e..d1a3cf1fb1a2 100644
--- a/libc/src/__support/FPUtil/CMakeLists.txt
+++ b/libc/src/__support/FPUtil/CMakeLists.txt
@@ -21,6 +21,7 @@ add_header_library(
libc.include.fenv
libc.src.__support.common
libc.src.__support.CPP.standalone_cpp
+ libc.src.errno.__errno_location
)
add_header_library(
diff --git a/libc/src/__support/File/CMakeLists.txt b/libc/src/__support/File/CMakeLists.txt
index d08f5e7c0647..ddc09b4d5e50 100644
--- a/libc/src/__support/File/CMakeLists.txt
+++ b/libc/src/__support/File/CMakeLists.txt
@@ -4,4 +4,6 @@ add_object_library(
file.cpp
HDRS
file.h
+ DEPENDS
+ libc.src.errno.__errno_location
)