Skip to content
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

Merged
merged 1 commit into from Jan 12, 2024

Conversation

domin144
Copy link
Contributor

The updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support.[1]

[1] #76980

The updated picolibc version has "isblank" function with external
linkage. This is required for C++ modules support.[1]

[1] llvm#76980
@domin144 domin144 requested a review from a team as a code owner January 12, 2024 11:21
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Jan 12, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Jan 12, 2024

@llvm/pr-subscribers-libcxx

Author: Dominik Wójt (domin144)

Changes

The 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:

  • (modified) libcxx/utils/ci/build-picolibc.sh (+2-1)
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}"

Copy link
Member

@mordante mordante left a 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.

@ldionne ldionne merged commit 2b23104 into llvm:main Jan 12, 2024
44 checks passed
@domin144 domin144 deleted the libcxx_picolibc_update_isblank branch January 18, 2024 12:58
domin144 added a commit to domin144/llvm-project that referenced this pull request Jan 18, 2024
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.
mordante pushed a commit that referenced this pull request Jan 18, 2024
Some of the module tests now pass after picolibc update.
#77908

The remaining tests fail and are now set to xfail on picolibc
specifically.
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
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.
blueboxd pushed a commit to blueboxd/libcxx that referenced this pull request Feb 1, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants