New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libc++] tests with picolibc: update picolibc #77908
Conversation
The updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support.[1] [1] llvm#76980
@llvm/pr-subscribers-libcxx Author: Dominik Wójt (domin144) ChangesThe updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support.[1] [1] #76980 Full diff: https://github.com/llvm/llvm-project/pull/77908.diff 1 Files Affected:
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}"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM! Note the patch for testing the modules is still under review. So I'll need to validate later whether this solves all issues. There's no need to wait landing this patch.
Some of the module tests now pass after picolibc update. llvm#77908 The remaining tests fail and are now set to xfail on picolibc specifically.
Some of the module tests now pass after picolibc update. #77908 The remaining tests fail and are now set to xfail on picolibc specifically.
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 llvm#76980, but we'll wait to validate this with the modules build without closing that issue.
Some of the module tests now pass after picolibc update. llvm/llvm-project#77908 The remaining tests fail and are now set to xfail on picolibc specifically. NOKEYCHECK=True GitOrigin-RevId: 7f0515323670459b8376b866bc73a448f0a5aa6e
The updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support.[1]
[1] #76980