First find in Google xmrig for mac
Download version for mac
I choose for Intel cpu
I accept risk warring
Download
Extract downloaded file
Go to the XMRig website to create config file with pool and wallet, if you have config file, you can skip this step
Press on Wizard
New configuration
Add pool
I choose nanopool.org
Enter wallet address
In last tab download generated config file
Copy config file into xmrig folder
Launch xmrig, but mac don't allow to start miner
I will compile miner from sources
In search results, first link is how to build miner for mac
Run first command in terminal
brew install cmake libuv openssl hwloc
I have error that brew command not found, need to install homebrew
Searching how to install homebrew
On first link, installation page i found command to install
Copy that and run,
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
When homebrew installed, run again
brew install cmake libuv openssl hwloc
and then,
git clone https://github.com/xmrig/xmrig.git
copy third command and run
mkdir xmrig/build && cd xmrig/build
Forth command,
cmake .. -DOPENSSL_ROOT_DIR=$(brew --prefix openssl)
and last command to build miner
make -j$(sysctl -n hw.logicalcpu)
Copy previously generated config file to the xmrig/build directory
run xmrig, i run from console
./xmrig
On mac i have average mining speed 820 H/s, i think same i have on Samsung s9.
user13