aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Wójt <dominik.wojt@arm.com>2024-01-12 23:32:04 +0100
committerGitHub <noreply@github.com>2024-01-12 17:32:04 -0500
commit2b2310484f5fc30c9da914caa8d2bd12ab25b3e6 (patch)
treefa70b399e2206e3a120cb1fb78ddfcbf943ff167
parentf4461cf4f30417be118487142bca6635e07ed1e6 (diff)
downloadllvm-2b2310484f5fc30c9da914caa8d2bd12ab25b3e6.zip
llvm-2b2310484f5fc30c9da914caa8d2bd12ab25b3e6.tar.gz
llvm-2b2310484f5fc30c9da914caa8d2bd12ab25b3e6.tar.bz2
[libc++] tests with picolibc: update picolibc (#77908)
The updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support. This should solve all the problems reported in #76980, but we'll wait to validate this with the modules build without closing that issue.
-rwxr-xr-xlibcxx/utils/ci/build-picolibc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/utils/ci/build-picolibc.sh b/libcxx/utils/ci/build-picolibc.sh
index 078c2bd..713e277 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}"