We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug cogsworth[extras] doesn't install on MacBook M1, using clang and homebrew OMP.
cogsworth[extras]
Example for reproducing
brew install libomp pip install 'cogsworth[extras]' clang++: error: unsupported option '-fopenmp' clang++: error: unsupported option '-fopenmp' test.cpp:1:10: fatal error: 'omp.h' file not found 1 | #include <omp.h> | ^~~~~~~ 1 error generated. ld: library 'gomp' not found clang++: error: linker command failed with exit code 1 (use -v to see invocation) ld: library 'omp' not found clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Expected behavior Would have expected the build process to find libomp.
This Stack Overflow answer seems to have the fix:
https://stackoverflow.com/questions/25990296/how-to-include-omp-h-in-os-x
brew --prefix libomp will output the directory which is the base for the include and lib directories.
brew --prefix libomp
include
lib
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
TomWagg
No branches or pull requests
Describe the bug
cogsworth[extras]
doesn't install on MacBook M1, using clang and homebrew OMP.Example for reproducing
Expected behavior
Would have expected the build process to find libomp.
This Stack Overflow answer seems to have the fix:
https://stackoverflow.com/questions/25990296/how-to-include-omp-h-in-os-x
brew --prefix libomp
will output the directory which is the base for theinclude
andlib
directories.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: