Skip to content

fix: macOS ARM64 build compatibility#32

Open
minnow54426 wants to merge 1 commit into
cipherflow-fhe:mainfrom
minnow54426:fix/macos-arm64-compat
Open

fix: macOS ARM64 build compatibility#32
minnow54426 wants to merge 1 commit into
cipherflow-fhe:mainfrom
minnow54426:fix/macos-arm64-compat

Conversation

@minnow54426
Copy link
Copy Markdown

Summary

  • Guard -maes CMake flag behind non-ARM check (AES-NI always available on ARM64)
  • Make -lrt linker dependency Linux-only (not available on macOS)
  • Fix size_t vs uint64_t mismatch in check_sig.h
  • Remove bridge_func declaration from fhe_types_v2.h (moved to Go c-shared build to avoid duplicate symbols)
  • Update lattigo submodule to fix: macOS ARM64 and C++ compatibility for CGO headers lattigo#9 (macOS ARM64 CGO header fixes)

Dependencies

Test plan

  • Build lattisense on macOS ARM64 with updated lattigo submodule
  • Build lattisense on Linux x86_64 — no regressions
  • Run latti-ai encrypted inference end-to-end

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@minnow54426 minnow54426 force-pushed the fix/macos-arm64-compat branch from 00f8160 to 23cef95 Compare April 29, 2026 13:50
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