-
Notifications
You must be signed in to change notification settings - Fork 92
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
Problems compiling on MacOS #2
Comments
I doubt Mac works without some significant configuration. Do you have access to an Ubuntu VM? I know that at least with libsnark it was not possible on Mac but straightforward on Linux. |
It will probably take changes similar to what was needed for my port of libsnark to Mac, mostly memory model related stuff |
It seems the issue is with open-MP over CLang, and maybe the following thread solves the problem: https://stackoverflow.com/questions/39979836/using-openmp-with-c11-on-mac-os](StackOverflow). I've just pushed a version with |
I got a repo that I use to build standalone GNU tools for macOS (mainly for Zcash compilation): /~https://github.com/kozyilmaz/tools and here are the precompiled binaries. You can use it by adding the installation path to $PATH This is an alternative for brew in any case, only a small patch is needed to make it compile (see below, it is a diff please remove .txt at the end of file name) I can create a PR if you guys interested (except flags.mk change of course) |
Does the solution @kozyilmaz suggests work for all of you? Does it require any package installation on Mac (standard? nonstandard?), or just applying the diff is sufficient? |
I was able to get things compiling and running with clang ( The patch from @kozyilmaz #2 (comment) was also needed, and it looks like Full diff: https://gist.github.com/ghazel/142c96e3e713d1c8dee4b12625ba6586 |
@ghazel can you please create a pull request with your patch? I also work on mac and cannot compile libSTARK here. |
from @ghazel was really helpful. Codes got compiled and run with clang( |
Guys, if this problem is still has an interest, I have opened the pull request to solve it, |
Awesome to have initial code! This is what I get from running
make -j8
on a MacThe text was updated successfully, but these errors were encountered: