-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iqtree2 on m1: "gcc-12: error: unrecognized command-line option '-msse3'" #1611
Comments
Related: iqtree/iqtree2#126 (comment) Apparently iqtree does not yet support m1/m2 hardware. Should it then be possible to 'install' with brew? |
@holmrenser I got it to compile via brew with a patch or two on my M1, see: https://github.com/Homebrew/homebrew-core/blob/573b15f29e31ba4143ae8137111cf87a3f181829/Formula/iqtree2.rb This uses the latest pre-release, as opposed to the old version 2.0.8 or so that homebrew-bio seems to use. |
Hi @corneliusroemer interesting, how would one implement this patch to run it on an M2? Thanks |
I got same problem and failed to fix Do not report this issue to Homebrew/brew or Homebrew/homebrew-core! These open issues may also help: |
iqtree2 now supports arm - I don't know enough about homebrew to enable this in the recipe. This works to build from source for me on my M1 arm mac: gh repo clone iqtree/iqtree2
cd iqtree2
git submodule init
git submodule update
mkdir build
cd build
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
make -j |
I've updated iqtree2 v.2.3.3 now. Please use it instead.
|
I ran
brew install brewsci/bio/iqtree2
on my macbook pro m1 and got the following error:gist with logs: https://gist.github.com/holmrenser/95d9289e6d9c92cd0de179084be1b5ca
The text was updated successfully, but these errors were encountered: