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

Building in OSX. Support both for gcc-c++ and clang++ (with openMP) #20

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mrtuborg
Copy link

@mrtuborg mrtuborg commented May 1, 2019

Dear Sir,

I want to propose my pull request, that helped to work with your library on my computer (macOS). Probably it will be useful for others.

I did not switched off any parts of your code to be able to compile it under osx and/or clang++, but just found appropriate system call for it.

I did the best I can to check if it still building in Linux. I was able to run all the tests described in README.md with gcc 8.1

Unfortunately, I see some issues while I am trying to compile tests with clang++ or gcc v8.3:
Here the log: make tests log

I think it have sense to fix it in separate pull request to avoid too much work for reviewers.

Faithfully yours,

Vladimir.

Vladimir A. Nosenko added 6 commits May 1, 2019 12:38
…SX into common NON-Windows case

OSX is not glibc, but execinfo.h has everything needed here.
…Added AR variable to be appropriately redefined for the specific platform
…ormation for the gtest libraries path from the environment
… directly, that make its incompatible with clang. Fix: Substituted by CFLAGS, that have correct openmp switch
@mrtuborg mrtuborg changed the title Building in OSX. Support both for gcc-c++ and clang++ (with openMP support) Building in OSX. Support both for gcc-c++ and clang++ (with openMP) May 1, 2019
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

Successfully merging this pull request may close these issues.

None yet

1 participant