Add macOS support for Intel Macs#12
Open
pahalovi wants to merge 2 commits intopredictivephenomics:mainfrom
Open
Add macOS support for Intel Macs#12pahalovi wants to merge 2 commits intopredictivephenomics:mainfrom
pahalovi wants to merge 2 commits intopredictivephenomics:mainfrom
Conversation
- Add macOS detection and MACOSX_BUNDLE configuration to CMakeLists.txt - Add Apple Silicon (ARM64) architecture detection - Disable AVX instructions on ARM processors (prevents build errors) - Create one-shot automated installation script for Intel Macs - Add macOS-specific documentation (README_macOS.md, INSTALL_INTEL_MAC.md) - Add macOS build script with architecture auto-detection - Add DMG packaging support for macOS distribution Note: Apple Silicon (M1/M2/M3) support is currently blocked due to cvutil library dependency using x86-specific CPU instructions. The software builds and runs on Intel Macs only. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive macOS support for Intel Macs, including automated installation and build scripts.
Changes
CMakeLists.txt
MACOSX_BUNDLEconfigurationDocumentation
Build Scripts
.gitignore
Platform Support
✅ Intel Macs (x86_64) - Fully supported with AVX2 optimizations
❌ Apple Silicon (M1/M2/M3) - Currently blocked due to cvutil dependency using x86-specific CPU instructions
Testing Needed
This PR has been developed and tested with:
Needs testing on Intel Mac hardware - The changes were developed on Apple Silicon but are specifically designed for Intel Macs. Testing on actual Intel Mac hardware would be valuable.
Installation
For Intel Mac users:
See
INSTALL_INTEL_MAC.mdfor detailed instructions.Future Work
Related Issues
Addresses the need for macOS support mentioned in the README which previously only documented Windows build instructions.