Skip to content

fix(build): add Android aarch64 support to lance-linalg#6057

Merged
Xuanwo merged 2 commits intolance-format:mainfrom
dardourimohamed:patch-1
Mar 2, 2026
Merged

fix(build): add Android aarch64 support to lance-linalg#6057
Xuanwo merged 2 commits intolance-format:mainfrom
dardourimohamed:patch-1

Conversation

@dardourimohamed
Copy link
Copy Markdown
Contributor

@dardourimohamed dardourimohamed commented Feb 28, 2026

Summary

  • Add target_os == "android" condition for aarch64 builds in lance-linalg

Problem

The Android aarch64 build fails because lance-linalg v2.0.0's build script doesn't recognize target_os == "android" as a valid target for aarch64, causing it to error even when the fp16kernels feature isn't enabled.

Solution

Extended the aarch64 build condition to include Android alongside Linux, since both support the same NEON instruction set.

Fixes build failures on Android targets.

The Android aarch64 build fails because lance-linalg v2.0.0's build script doesn't recognize target_os
  == "android" as a valid target for aarch64, causing it to error even though the fp16kernels feature
 isn't enabled
@github-actions
Copy link
Copy Markdown
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@dardourimohamed dardourimohamed changed the title fix aarch64 android lance-linalg build fix(build): add Android aarch64 support to lance-linalg Mar 2, 2026
@github-actions github-actions Bot added the bug Something isn't working label Mar 2, 2026
Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you!

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Xuanwo Xuanwo merged commit 65c0807 into lance-format:main Mar 2, 2026
29 checks passed
wjones127 pushed a commit to wjones127/lance that referenced this pull request Mar 4, 2026
…#6057)

## Summary
- Add `target_os == "android"` condition for aarch64 builds in
lance-linalg

## Problem
The Android aarch64 build fails because lance-linalg v2.0.0's build
script doesn't recognize `target_os == "android"` as a valid target for
aarch64, causing it to error even when the `fp16kernels` feature isn't
enabled.

## Solution
Extended the aarch64 build condition to include Android alongside Linux,
since both support the same NEON instruction set.

Fixes build failures on Android targets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants