-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Problem
Installation via pip fails on macOS ARM64 (Apple Silicon) during compilation due to x86-specific assembly code.
Steps to Reproduce
pip install git+https://github.com/psathyrella/partis.gitError
Compilation fails with errors like:
/Library/Developer/CommandLineTools/usr/lib/clang/17/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
The build process includes x86-specific headers (emmintrin.h, xmmintrin.h, mmintrin.h) that are incompatible with ARM64 architecture.
Environment
- macOS with Apple Silicon (ARM64)
- Python 3.11
- Clang 17
Expected Behavior
Installation should succeed on ARM64 platforms or provide clear documentation about platform limitations.
Possible Solutions
- Add conditional compilation for ARM64 vs x86 architectures
- Use platform-agnostic SIMD intrinsics
- Provide pre-compiled binaries for ARM64
- Document x86-only limitation if ARM64 support is not planned
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels