Skip to content

fix(ci): fix release builds for linux-aarch64 and windows#23

Merged
RichardHightower merged 1 commit intomainfrom
fix/release-workflow-cross-compilation
Mar 14, 2026
Merged

fix(ci): fix release builds for linux-aarch64 and windows#23
RichardHightower merged 1 commit intomainfrom
fix/release-workflow-cross-compilation

Conversation

@RichardHightower
Copy link
Contributor

Summary

  • linux-aarch64: Fix Cross.toml to properly pass PKG_CONFIG_ALLOW_CROSS, PKG_CONFIG_PATH, and PKG_CONFIG_SYSROOT_DIR env vars so openssl-sys can locate aarch64 OpenSSL headers during cross-compilation
  • windows-x86_64: Patch usearch at build time to disable simsimd feature. MSVC cannot compile SimSIMD's AVX-512 FP16 intrinsics (_mm512_reduce_add_ph) used in Sapphire/Genoa backends

Both failures have been present since v2.4.0 release.

Test plan

  • Merge and tag a patch release (v2.6.1) to verify the release workflow passes all 5 platform builds
  • Verify linux-aarch64 artifact is produced
  • Verify windows-x86_64 artifact is produced

🤖 Generated with Claude Code

linux-aarch64: Fix Cross.toml to properly pass PKG_CONFIG_ALLOW_CROSS
and PKG_CONFIG_PATH environment variables so openssl-sys can find
aarch64 OpenSSL headers during cross-compilation.

windows-x86_64: Patch usearch to disable simsimd feature at build time.
MSVC cannot compile SimSIMD's AVX-512 FP16 intrinsics
(_mm512_reduce_add_ph) used in Sapphire/Genoa backends. The sed patch
sets default-features=false with only fp16lib enabled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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