[libc-commits] [libc] [libc][NFC] disable localtime on aarch64/baremetal (PR #156776)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Sep 3 16:51:20 PDT 2025


https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/156776

The fuchsia builder was broken by https://github.com/llvm/llvm-project/pull/110363
This patch disables localtime for aarch64 baremetal, which is the
failing target.

Context: https://lab.llvm.org/buildbot/#/builders/11/builds/23186


>From cca26fe22da270621d3e590eca7c40a084cb8bef Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Wed, 3 Sep 2025 23:49:19 +0000
Subject: [PATCH] [libc][NFC] disable localtime on aarch64/baremetal

The fuchsia builder was broken by https://github.com/llvm/llvm-project/pull/110363
This patch disables localtime for aarch64 baremetal, which is the
failing target.

Context: https://lab.llvm.org/buildbot/#/builders/11/builds/23186
---
 libc/config/baremetal/aarch64/entrypoints.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libc/config/baremetal/aarch64/entrypoints.txt b/libc/config/baremetal/aarch64/entrypoints.txt
index 04bf636863d75..cacecf08042e0 100644
--- a/libc/config/baremetal/aarch64/entrypoints.txt
+++ b/libc/config/baremetal/aarch64/entrypoints.txt
@@ -269,8 +269,9 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.time.difftime
     libc.src.time.gmtime
     libc.src.time.gmtime_r
-    libc.src.time.localtime
-    libc.src.time.localtime_r
+    # TODO: Re-enable these when tests aren't broken.
+    # libc.src.time.localtime
+    # libc.src.time.localtime_r
     libc.src.time.mktime
     libc.src.time.strftime
     libc.src.time.strftime_l



More information about the libc-commits mailing list