-
Notifications
You must be signed in to change notification settings - Fork 23
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
MacOS-arm64 wheels for 18.1.1 and 17.0.6 fail with Error parsing translation unit
#71
Comments
I'm currently facing the same issue on macOS with a m3 processor. |
I also encountered this issue by upgrading the MacOS version in my libclang dependent project (https://github.com/JhnW/devana). Migrating from 11 to 13 macos causes fail a lot of tests with parsing error. |
I managed to get it work by using a manually installed llvm and setting LIBCLANG_LIBRARY_PATH environment variable. But of course, I would love to be able to just do a |
@sighingnow so if wyfo was able to using new clang just installed manually, maybe update version of package is needed or something happens during installation on mac target? |
Will process this issue today, sorry for the late. |
Nice to hear. Any update about this topic? |
Temporary MacOS testing only due to dependency bug: sighingnow/libclang#71
I have uploaded a new revision to pypi and confirmed it works on M1 MacOS: Try to upgrade your installation via |
Thanks for fixing #70. The new libclang-MacOS-x86_64 wheel on pypi.org works fine for me.
However i've noticed a different issue with the libclang-MacOS-arm64 18.1.1 and 17.0.6 wheels. They both fail to parse my C++ code with error
clang.cindex.TranslationUnitLoadError: Error parsing translation unit.
.The MacOS-arm64 16.06 wheel continues to work fine, as do the 18.1.1 wheels for other platforms (Linux, Windows, MacOS-x86_64).
There doesn't seem to be any detailed information about where the parse failed. I'm parsing the MuPDF library's header files. I suspect it's a build issue with the wheel? but i can probably create a simple reproducer if it would help.
The text was updated successfully, but these errors were encountered: