-
Notifications
You must be signed in to change notification settings - Fork 316
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
Tests fail: KeyError: 'LLVMPY_AddRefPrunePass' #880
Comments
@yurivict thank you for submitting this. May I ask how you installed Python and how you installed llvmlite? FWIW: the "thing" that appears to be missing should come from here: https://github.com/numba/llvmlite/blob/main/ffi/custom_passes.cpp#L1171 -- so my guess would be, that you are experiencing some sort of linking issue. |
Both Python and llvmlite are installed from FreeBSD ports. |
OK; thank you for following up. Is there a way to submit this issue to the folks that maintain this |
The C++ part looks like this:
It doesn't include
It seems that GNU make is used. How to switch to cmake? |
|
Seems like it is indeed missing, which I think would explain the immediate problem. A patch to fix would be welcomed! Many thanks! |
@yurivict @stuartarchibald thank you for diagnosing. I have updated the labels to |
As the automated system shows, I have submitted a patch for this issue. I've run it on 13.2-RELEASE-p2 for amd64. It does indeed resolve the missing symbol and the ensuing library seems to work enough that I can finally run OpenAI's Whisper project under FreeBSD. (This was a blocking issue there). |
Fix issue #880 by ensuring all sources are compiled under FreeBSD.
Fix issue numba#880 by ensuring all sources are compiled under FreeBSD.
Closing now as #997 has been merged. |
Tests fail, see:
Version: 0.39.1
llvm-11
Python-3.9
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: