Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
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

Cannot build server with clang on Mac #9

Open
LOZORD opened this issue Apr 15, 2017 · 4 comments
Open

Cannot build server with clang on Mac #9

LOZORD opened this issue Apr 15, 2017 · 4 comments

Comments

@LOZORD
Copy link
Collaborator

LOZORD commented Apr 15, 2017

Mac uses clang in place of g++ for Reasons™.

The -fopenmp flag is not supported, so cd server && make all fails, even after brew install g++.

@pkivolowitz
Copy link
Member

Cool!
Do you know how to make a makefile check for platform?

I can mod the openmp-based code to not do it if on the mac.

@pkivolowitz
Copy link
Member

@pkivolowitz
Copy link
Member

With the release of Clang 3.8.0, OpenMP 3.1 support is enabled in Clang by default, and the OpenMP runtime is therefore built as a normal part of the Clang build, and distributed with the binary distributions.You do not, therefore, need explicitly to check out this code, or build it out of tree; a normal Clang check out and build will automatically include building these runtime libraries.

@LOZORD
Copy link
Collaborator Author

LOZORD commented Apr 15, 2017

Ok, let the hacking begin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants