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

An error: can't build from source for mac M1 successfully #110

Closed
qtzhuang opened this issue Nov 13, 2023 · 0 comments
Closed

An error: can't build from source for mac M1 successfully #110

qtzhuang opened this issue Nov 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@qtzhuang
Copy link
Contributor

while i use command python setup.py develop, there is an error which is about openMP, since when using brew install libompfor mac M1, the brew installed clang is not in /usr/local. The brew instructions show that the preferred location for it is /opt/homebrew.
But in CMakeLists.txt, the path is /usr/local/opt/libomp/lib,you can see https://github.com/ScQ-Cloud/pyquafu/blob/master/CMakeLists.txt#L31

i think that's the problem.

@Zhaoyilunnn Zhaoyilunnn added the bug Something isn't working label Nov 13, 2023
ScQ-Cloud added a commit that referenced this issue Apr 18, 2024
fix: automatically find openmp based on homebrew prefix, close #110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants