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

Dirty hack to support macOS #15

Merged
merged 2 commits into from
Aug 11, 2021
Merged

Dirty hack to support macOS #15

merged 2 commits into from
Aug 11, 2021

Conversation

hombit
Copy link
Member

@hombit hombit commented Aug 11, 2021

macOS LLVM installation doesn't support OpenMP, so clang fails if -fopenmp is given. However macOS users can install LLVM or GCC with OpenMP support, but I would say it is rear case. This commit removes -fopenmp flags for macOS completely making it possible to compile non-parallel version of the package on this weird platform.

macOS LLVM installation doesn't support OpenMP, so clang fails if
`-fopenmp` is given. However macOS users can install LLVM or GCC
with OpenMP support, but I would say it is rear case. This commit
removes `-fopenmp` flags for macOS completely making it possible to
compile non-parallel version of the package.
@hombit hombit requested a review from balodja August 11, 2021 11:21
@balodja balodja merged commit 8103de8 into master Aug 11, 2021
@balodja
Copy link
Collaborator

balodja commented Aug 11, 2021

Not so dirty, IMHO. Is there a more portable way of efficient parallelization?

@hombit hombit deleted the macos branch March 12, 2024 07:46
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

2 participants