-
Notifications
You must be signed in to change notification settings - Fork 245
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
Installation error on MacOs: wrong architecture is built #243
Comments
That is weird. Are you sure that that is not something to do with your environment? The pybind11 version passes CI on an Apple machine for me: |
It may be my environment, the question is whether it is something the installation script should detect, or something I should fix. Do you have any ideas on how I can debug it? On a side note, perhaps this |
It seems to be trying to build a 32-bit binary. Any clue why it would try to do that? Could you post a link to the full build log, including the compiler/linker invocations? |
No idea, the previous PyOpenCL versions do not seem to have this problem (with the same environment). The build log is here: https://gist.github.com/fjarri/70a44c9dafc7f8cbdf6524eb9f02f6c6 |
Could you try this branch? |
The branch by itself does not help. But I've done some more googling, and it seems that the problem lies in the most recent XCode version (starting from either 9.3 or 9.4). I am not sure how to fix the build for them, but switching to XCode 9.2 plus using the branch makes everything build successfully. |
The new
pybind11
version does not install properly on MacOs 10.13.6. During the compilation the linker produces several warnings:The installation succeeds despite that, but the module cannot be imported:
The text was updated successfully, but these errors were encountered: