Just went through the process of building ethminer with Cuda for OSX - it appear simple but devil in the details, its very frustrating... I spent way too much time on it, but finally it works! No more idle time for Nvidia on mac!
Hope it will save somebody a lot of time and frustration who is up for same challenge. It's a Genoil/chfast one:
https://github.com/ethereum-mining/ethminerFor some evil reason lol they provide Mac build but it crashes in OpenCL and not compiled for Cuda at all. You need build 0.12. It works for opencl only, but speed is a disaster - ~2mh on 1070. Newer builds not working on OSX at all.
So what I did - 10.13 High sierra, latest Nvidia web drivers, latest Cuda 387.128, lots of pain and suffering and build is here:
https://drive.google.com/file/d/1llztDndIvW119It897sRDFurTjD5kEo-/view?usp=sharingTo run in Cuda Mode for example on ethermine pool:
./ethminer --farm-recheck 200 -U -S us1.ethermine.org:4444 -FS eu1.ethermine.org:444 -O 0xYOURETHADDRESS
you can try OpenCL as well (-G instead of -U, but its horribly slow)
1070 getting 26.33 Mh/s, not that bad.
One more thing - for some reason 3gb cards work on Linux version, but on Mac - nope, dont even try, you'll get memory allocation error.