-
Notifications
You must be signed in to change notification settings - Fork 120
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
Python bindings don't build on OSX #2690
Comments
Hi @seanmcl Can you please let me know what you are getting with the followings:
The path is set based on the presence of |
Thanks for looking.
The file is there
This made more progress
Fixed with
among dozens of other similar errors. Sorry to be needy! |
Just to make sure we are using MLIR_ENABLE_BINDINGS_PYTHON=ON while building the project.
|
Yep!
|
In terms of building python binding's I'd try to stick as close to the CI as possible: https://github.com/openxla/stablehlo/blob/main/.github/workflows/buildAndTestCMake.yml#L88-L97
Make sure env vars are the same and the deps installed are the same version. To that end, my local build script has:
|
What happened?
I followed the build instructions, which worked well up to the Python bindings step.
This immediately failed, looking for
lld
. I did abrew install llm
which succeeded, and the build made it much further, but failed withI tried different things to get the pybind cmake files, but after searching around a bit I gave up. There are some other issues on the pybind github saying others had had similar trouble with cmake.
Steps to reproduce your issue
No response
Version information
The text was updated successfully, but these errors were encountered: