I've been trying to compile CPU Multiminer on OS X: https://github.com/wolf9466/cpuminer-multi
Has anyone gotten this to work?
Would be grateful if there was some instructions, I just can't get it to build!
goxed from bitcointalk has a fork of that repo that fixed the clang issues and works for me on macOS10.12. Here's what I did to use it without the formula:
brew install automake autoconf libtool curl jansson
brew link curl --force
git clone git://github.com/goxed/cpuminer-multi;cd cpuminer-multi
./configure CFLAGS="-march=native -mtune=native -maes"
Edit: since the wolf9466 repo has seen a few changes since the goxed version was forked, I just tried making the same Makefile.am changes that goxed did to the current wolf9466 repo, and that also works.
for modern MacOs Versions you'll need to install openssl and pass it as parameter in configure
brew install openssl
./configure CFLAGS="-march=native -mtune=native -maes -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib"