[llvm] 08c709a - [gn build] (manually) port ebe6161c54b9

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 11:57:02 PST 2021


Author: Nico Weber
Date: 2021-03-08T14:56:41-05:00
New Revision: 08c709a2664878ca4b460144b75f3d7b5a8c2707

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

LOG: [gn build] (manually) port ebe6161c54b9

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
index 75441d786a41..cb89a7de71cc 100644
--- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
@@ -96,6 +96,7 @@ copy("include") {
     "__support/ibm/gettod_zos.h",
     "__support/ibm/limits.h",
     "__support/ibm/locale_mgmt_aix.h",
+    "__support/ibm/locale_mgmt_zos.h",
     "__support/ibm/nanosleep.h",
     "__support/ibm/support.h",
     "__support/ibm/xlocale.h",

diff  --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
index bcaa28102608..0b0b22f5669b 100644
--- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
@@ -176,6 +176,9 @@ if (target_os == "win") {
 if (target_os == "solaris") {
   cxx_sources += [ "support/solaris/xlocale.cpp" ]
 }
+if (target_os == "zos") {
+  cxx_sources += [ "support/ibm/xlocale_zos.cpp" ]
+}
 if (libcxx_enable_debug_mode) {
   cxx_sources += [ "debug.cpp" ]
 }


        


More information about the llvm-commits mailing list