![]() Use homebrew as outlined above to install libmicrohttpd and openssl but also run brew install hwloc You can just download the zip as you don't need to get a particular branch for the CPU miner to work If you need any more help please check out Now you can run the xmr-stak-amd binary in Terminal and it'll connect to your pool and start mining straight away. Make sure to change the pool details in the config.txt file to your pool details too and you'll be good to go! Move the config.txt file from the parent directory in to the bin folder and edit it so the lines below look like this: "gpu_thread_num" : 1, Ī folder called bin will now contain a binary called xmr-stak-amd which is what you can use to GPU mine XMR/Monero Run brew install git libmicrohttpd opensslĬmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl. You'll need to install the dependencies libhttpd and openssl - I used homebrew which you can get from If you need any more help running the miner, please check out the forum at Ĭompiling the older xmr-stak-amd and xmr-stak-cpu for macOSįor AMD GPU mining, you can find the code for a miner at To compile for AMD or Nvidia only without the cpu mining capability, add the flag -DCPU_ENABLE=OFF to the cmake command. DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF To compile for CPU mining only use the following commands in the Terminal app: brew install hwloc libmicrohttpd gcc openssl cmakeĬmake. DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOpenCL_ENABLE=OFF To compile for Nvidia GPUs and CPU mining use the following commands in the Terminal app: brew tap caskroom/driversīrew install hwloc libmicrohttpd gcc openssl cmakeĬmake. The last command starts the miner and will present you with a setup dialog where you can enter your pool details. To compile for AMD GPUs and CPU mining use the following commands in the Terminal app: brew install cmake openssl hwloc libmicrohttpdĬmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCUDA_ENABLE=OFF. These instructions require homebrew, which you can get from The code for the miner can be found here: The first tutorial here will focus on the newer, merged miner, and below that will remain the instructions for the older miners from the original tutorial. Note that there were originally separate projects for GPU and CPU mining XMR which have been merged together. You can also buy Monero/XMR by clicking this link:īut if you'd rather compile the code and mine Monero yourself, here are some simple instructions: There's no session state to take care of.I have compiled command line miners for XMR available here (including updated versions for RandomX): Command line miners for Mac Nice -n $/yam -c x -M stratum+tcp://$ that you can simply stop YAM or your wrapper script with Control+ C. That could look like this (using pool for example): #!/bin/sh You can then either start the yam utility directly from a Terminal, or make a wrapper script. Transfer this directory to /opt or another location of your choice. Then, the yam utility is in a subdirectory macos64-haswell. Then unzip the appropriate archive concerning your platform, e.g.: yam-yvg1900-M8a-macos64-haswell.tgz. tgz files in the browser with a ★ and click Download as ZIP. Lookup your Apple computer, the architecture should be noted in the Processor Details section. ![]() If you don't know what CPU architecture your specific Apple computer has, check out the website. MacBook Pro (late 2013) is Haswell architecture, so select yam-yvg1900-M8a-macos64-haswell.tgz.Mac mini (late 2009) is Core2 architecture, so select yam-yvg1900-M8a-macos64-core2.tgz.Either use Chrome or Firefox (or Tor Browser) instead.īinaries are OS and CPU architecture specific. Note that that website doesn't support Safari properly. ![]() I have been using YAM CPU miner for some time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |