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

fix(arrow/bitutil): fix bitmap ops on 32-bit platforms #277

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

zeroshade
Copy link
Member

Rationale for this change

Fixes the broken 32-bit arch tests identified by #32

What changes are included in this PR?

Defining the opAligned pure go fallback methods for bitmap operations.

Are these changes tested?

Yes, it makes the tests succeed properly on GOARCH=386

Are there any user-facing changes?

No.

@zeroshade zeroshade requested review from kou and lidavidm February 11, 2025 21:07
@zeroshade
Copy link
Member Author

@jas4711 Can you test this on your end?

@kou Do you know if there's an available i386 image on GHA that we could use and add a CI run for?

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could maybe test with qemu?

@lidavidm
Copy link
Member

@kou
Copy link
Member

kou commented Feb 12, 2025

I think that we can use x86_64 ubuntu-latest runner for it.

In general, x86_64 Linux kernel can execute i386 binary. Go can build i386 binary on x86_64 by GOARCH=386, right?

@zeroshade
Copy link
Member Author

True, I could create a docker config that just runs the scripts with GOARCH=386 set in the environment. I'll open a separate PR for that though rather than hold this off.

@zeroshade zeroshade merged commit 1d3100c into apache:main Feb 12, 2025
23 checks passed
@zeroshade zeroshade deleted the fix-386-bitmap-test branch February 12, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants