[clang] 89471d5 - [Fuchsia] Disable libcxx timezone database (#65870)

via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 10 07:04:08 PDT 2023


Author: Alex Brachet
Date: 2023-09-10T10:04:04-04:00
New Revision: 89471d50e8fc72b5157db17d7c9f77790b76b840

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

LOG: [Fuchsia] Disable libcxx timezone database (#65870)

tzdb is currently broken when cross compiling from non Linux to Linux.
Lets just disable it totally in our toolchain for now. We should remove
this when #65859 lands.

Added: 
    

Modified: 
    clang/cmake/caches/Fuchsia-stage2.cmake

Removed: 
    


################################################################################
diff  --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake
index 4890040b1b6a2b4..10e5cacf51c4b7b 100644
--- a/clang/cmake/caches/Fuchsia-stage2.cmake
+++ b/clang/cmake/caches/Fuchsia-stage2.cmake
@@ -181,6 +181,9 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
     set(RUNTIMES_${target}_LLVM_TOOLS_DIR "${CMAKE_BINARY_DIR}/bin" CACHE BOOL "")
     set(RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
 
+    # TODO: Remove this once #65859 lands.
+    set(RUNTIMES_${target}_LIBCXX_ENABLE_TIME_ZONE_DATABASE OFF CACHE STRING "")
+
     # Use .build-id link.
     list(APPEND RUNTIME_BUILD_ID_LINK "${target}")
   endif()


        


More information about the cfe-commits mailing list