[libcxx-commits] [libcxx] [libc++] tests with picolibc: update picolibc (PR #77908)
Dominik Wójt via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 12 03:21:34 PST 2024
https://github.com/domin144 created https://github.com/llvm/llvm-project/pull/77908
The updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support.[1]
[1] https://github.com/llvm/llvm-project/issues/76980
>From f5bfed775491ad993f01339f2a22d35a60e6b4b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dominik=20W=C3=B3jt?= <dominik.wojt at arm.com>
Date: Fri, 12 Jan 2024 11:00:52 +0100
Subject: [PATCH] [libc++] tests with picolibc: update picolibc
The updated picolibc version has "isblank" function with external
linkage. This is required for C++ modules support.[1]
[1] https://github.com/llvm/llvm-project/issues/76980
---
libcxx/utils/ci/build-picolibc.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libcxx/utils/ci/build-picolibc.sh b/libcxx/utils/ci/build-picolibc.sh
index 078c2bdf5ebccc..713e2773547689 100755
--- a/libcxx/utils/ci/build-picolibc.sh
+++ b/libcxx/utils/ci/build-picolibc.sh
@@ -73,8 +73,9 @@ mkdir -p "${picolibc_build_dir}"
# Following changes are required and were introduced after version 1.8.5:
# - updated semihost arguments handling,
# - added missing macros in stdio.h
+# - external linkage for isblank
# Version following 1.8.5, was not released by the time of writing.
-picolibc_commit="4b9b8ef01d18cf0563348ad4af4ae89a7277e7ca"
+picolibc_commit="04a90c56d7aac61880f205ec29b3dce6a9de0342"
curl -L "https://github.com/picolibc/picolibc/archive/${picolibc_commit}.zip" --output "${picolibc_source_dir}/picolibc.zip"
unzip -q "${picolibc_source_dir}/picolibc.zip" -d "${picolibc_source_dir}"
mv "${picolibc_source_dir}/picolibc-${picolibc_commit}"/* "${picolibc_source_dir}"
More information about the libcxx-commits
mailing list