Skip to content

Conversation

@anuraaga
Copy link

While debugging #211 I randomly noticed that the arm64 build could be improved by using GitHub's recent native arm runners - while cross compiling is probably ok too, I think it can be safer to use a native builder.

Also when testing it, I noticed the x86 build can't work anymore since it's using a deprecated runner.

https://github.com/anuraaga/sqlite-vec/actions/runs/15769789007/job/44452544135

❯ file vec0.so
vec0.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=fb446ba691d9e8cd31e173928a061fbc46a80979, not stripped

vlasky added a commit to vlasky/sqlite-vec that referenced this pull request Nov 28, 2025
Updates GitHub Actions workflows to fix deprecated runner issues and
improve ARM64 builds:

Release workflow:
- Fix x86_64 Linux: ubuntu-20.04 → ubuntu-latest (20.04 is deprecated)
- Use native ARM64 runner: ubuntu-24.04-arm instead of cross-compilation
- Remove gcc-aarch64-linux-gnu cross-compiler dependency
- Build natively on ARM for better SIMD support and reliability

Test workflow:
- Fix x86_64 Linux: ubuntu-20.04 → ubuntu-latest (20.04 is deprecated)

Benefits:
- Prevents build failures from deprecated runners
- Native ARM builds are more reliable and faster
- Better testing of ARM NEON SIMD optimizations
- Easier debugging if ARM-specific issues arise

Merged from upstream PR asg017#228 by anuraaga.

Co-Authored-By: Anuraag (Rag) Agrawal <anuraaga@gmail.com>
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.

1 participant