Skip to content

Add a MacOS build: A couple of different options#78

Open
pettyalex wants to merge 2 commits intoodelaneau:masterfrom
belowlab:mac-build
Open

Add a MacOS build: A couple of different options#78
pettyalex wants to merge 2 commits intoodelaneau:masterfrom
belowlab:mac-build

Conversation

@pettyalex
Copy link

This PR demonstrates a couple of approaches that could be used to make this shapeit4 build and run on MacOS. We can use either a script that overrides make variables, or make the makefile conditional. Also, for building on Mac, some references to std::setiosflags had to be updated to include the std:: namespace.

I've seen several requests to have this operate on Mac OS. Also, the -mavx2 and -mfma flags can be left on, as they're supported on Intel macs, and ignored with a warning on Apple Silicon Macs.

Existing users wanting to use this on a Mac:
#15
#36

…ke variables, or make the makefile conditional. Also, for building on Mac, some references to std::setiosflags had to be updated to include the std:: namespace
@chenrui333
Copy link

Just FYI, there is also an open homebrew-core PR on this, Homebrew/homebrew-core#116162

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.

2 participants