Skip to content

Conversation

skyler14
Copy link

When I pulled this onto an M1 Macbook Pro I noticed I was unable to install it, cmake would run into depedency issues that were intractable on the platform. I made a few changes in this which allowed me to successfully install it via pip install . on my system. I added a wheel builder that I was able to then test installation via pip install git+https://github.com/skyler14/symspellcpppy.git and successfully install in another conda environment. These aren't comprehensively tested but I think should cover many platforms.

@viig99 viig99 requested a review from Copilot July 28, 2025 15:31
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for building and installing the SymSpellCppPy package on Apple Silicon (ARM) Macs by updating CMake requirements, adding ARM64-specific build configurations, and creating a comprehensive CI workflow for wheel building across multiple platforms.

  • Updates CMake minimum version to 3.18.0 for Apple Silicon support and adds ARM64-specific compiler flags
  • Modernizes Python version requirements (3.7+ instead of 3.4+) and pybind11 dependencies
  • Introduces automated wheel building workflow with support for multiple platforms including Apple Silicon

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.

File Description
setup.py Adds CMake version checks, Apple Silicon compiler flags, and updates Python/dependency requirements
CMakeLists.txt Updates minimum CMake version and adds ARM64-specific build optimizations
.github/workflows/build-wheels.yml New CI workflow for building wheels across platforms including Apple Silicon support

Add better architecture support for Apple Silicon (and Linux in build.whl), Copilot recommendations

Co-authored-by: Copilot <[email protected]>
@skyler14
Copy link
Author

I think that should be everything

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