[llvm] 14e7f5b - [gn build] port a8025e06fc0f more

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 5 10:17:14 PST 2021


Author: Nico Weber
Date: 2021-12-05T13:17:03-05:00
New Revision: 14e7f5b05141a4a8beae29f5df869b778a0b31a6

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

LOG: [gn build] port a8025e06fc0f more

src/ryu/*.cpp includes files relative to src, so src/ needs
to be passes as -I flag now.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/libcxx/src/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
index fbd95993a13b4..ae96840b1cfdb 100644
--- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
@@ -227,6 +227,7 @@ if (libcxx_enable_shared) {
       ]
     }
     sources = cxx_sources
+    include_dirs = [ "." ]
     deps = [
       "//compiler-rt/lib/builtins",
       "//libcxx/include",
@@ -270,6 +271,7 @@ if (libcxx_enable_static) {
     complete_static_lib = true
     configs -= [ "//llvm/utils/gn/build:thin_archive" ]
     sources = cxx_sources
+    include_dirs = [ "." ]
     if (libcxx_hermetic_static_library) {
       cflags = [ "-fvisibility=hidden" ]
       if (libcxx_enable_new_delete_definitions) {


        


More information about the llvm-commits mailing list