-
Notifications
You must be signed in to change notification settings - Fork 97
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
Build kawpow on OSX #27
base: master
Are you sure you want to change the base?
Conversation
Can you post your commands here to compile on Mac OS? (using cmake) |
Sure, I essentially used the commands from the README modified for my GPU type (AMD RX 570):
I needed to install xcode and cmake (via homebrew) but that was it. |
Thank You! That got me a whole lot closer. It's compiling for me using your git branch, but with errors. Looks like it's trying to find OpenCL2.2 but I believe most Macs use OpenCL 1.2. |
This fork allowed me to get past the Apple clang error with the master build. Agree am not able to mine but can build. Am on Catalina 10.15.5 (19F101), GPU Intel Iris Graphics 540 1536 MB Here's the output with the same build steps as @hwh57
|
When I run
but having an Intel graphics card, I don't think it supports CUDA. If I run
Hope it helps |
CUDA would only be for your Mac with an NVIDIA card--if you have an AMD card, you should use...
...as suggested above. There could still be problems with newer AMD cards and Macs that don't have driver support for OpenCL. At least, as I understand it. |
Looks like I'm unable to build the project.
|
Thank. you helped me a lot :D |
After successfully building, i faced these issues :( macbook pro 16" (AMD Radeon Pro 5500M 4GB) - Big Sur 11.2.2
|
Does anyone know what is happening here? I typed this command cmake .. -DETHASHCL=ON -DETHASHCUDA=OFF and this happened (iMac with radeon pro 560) -- [cable ] Cable 0.2.14 initialized Bootstrapping is done. To build, run:
To generate header files, run:
To adjust configuration, edit 'project-config.jam'.
[ 75%] Performing build step for 'Boost-system'
Building the Boost C++ Libraries. Component configuration:
...found 137 targets...
...failed darwin.compile.c++ bin.v2/libs/system/build/darwin-12.0.0/debug/link-static/threading-multi/visibility-hidden/error_code.o...
...failed darwin.compile.c++ bin.v2/libs/system/build/darwin-12.0.0/release/link-static/threading-multi/visibility-hidden/error_code.o... [hunter ** FATAL ERROR **] Build step failed (dir: /Users/petertso/.hunter/_Base/e14bc15/93ffcde/196746b/Build/Boost/__system ------------------------------ ERROR -----------------------------
|
Could be related to: https://trac.macports.org/ticket/60287 |
I'm receiving the above issue now too - Maybe we should bump the Boost version? EDIT: Looks like you took care of that. @JohnTso are you actually using hwh57's branch? It looks like you're pulling in Boost 1.70 but this branch has bumped it to 1.72. |
These changes get kawpow to build on OSX (Catalina 10.15.4) however it still doesn't mine. Perhaps someone with an iGPU (I'm using an eGPU) can try it out: