[libc-commits] [libc] c8b614c - [libc][Obvious] Add a few missing deps listings.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Thu Mar 3 08:27:55 PST 2022


Author: Siva Chandra Reddy
Date: 2022-03-03T16:27:46Z
New Revision: c8b614cd74a92d85936aed5ac7c642af75ffdc29

URL: https://github.com/llvm/llvm-project/commit/c8b614cd74a92d85936aed5ac7c642af75ffdc29
DIFF: https://github.com/llvm/llvm-project/commit/c8b614cd74a92d85936aed5ac7c642af75ffdc29.diff

LOG: [libc][Obvious] Add a few missing deps listings.

Added: 
    

Modified: 
    libc/src/__support/CMakeLists.txt
    libc/src/__support/FPUtil/CMakeLists.txt
    libc/src/__support/File/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/CMakeLists.txt b/libc/src/__support/CMakeLists.txt
index c1fa9c5661b22..f70803dcd7040 100644
--- a/libc/src/__support/CMakeLists.txt
+++ b/libc/src/__support/CMakeLists.txt
@@ -15,13 +15,6 @@ add_header_library(
     ctype_utils.h
 )
 
-add_header_library(
-  high_precision_decimal
-  HDRS
-    high_precision_decimal.h
-
-)
-
 add_header_library(
   str_to_integer
   HDRS
@@ -33,6 +26,14 @@ add_header_library(
     libc.src.__support.CPP.standalone_cpp
 )
 
+add_header_library(
+  high_precision_decimal
+  HDRS
+    high_precision_decimal.h
+  DEPENDS
+    .str_to_integer
+)
+
 add_header_library(
   str_to_float
   HDRS

diff  --git a/libc/src/__support/FPUtil/CMakeLists.txt b/libc/src/__support/FPUtil/CMakeLists.txt
index d02cd9fcce0ec..d1a3cf1fb1a26 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 d08f5e7c06476..ddc09b4d5e50d 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
 )


        


More information about the libc-commits mailing list