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

setup.py fails: clang: error: unsupported option '-fopenmp' ninja: build stopped: subcommand failed. #113

Open
LucciVanSchandt opened this issue Jul 5, 2022 · 1 comment

Comments

@LucciVanSchandt
Copy link

When I try to execute python setup.py build_ext --inplace it fails with the error clang: error: unsupported option '-fopenmp'.
I tried to update llvm and clang, but it didn't help. Is there anyone who ran into the same issue or know how to fix it?
I would highly appreciate any help or hints.

@zhanghx04
Copy link

@LucciVanSchandt Hello, from what I understand, it seems like you haven't installed OpenMP on your machine. Try to install OpenMP with brew install libomp. ref: https://www.positioniseverything.net/clang-error-unsupported-option-fopenmp/

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