Open ManPython opened 2 years ago
This looks like a build issue. On FreeBSD, the sharedlibrary is missing the LLVMPY_AddRefPrunePass
symbol. I'm guessing it is caused by the lack of custom_passes.cpp
in https://github.com/numba/llvmlite/blob/257f77f7417e5fbeea3aa3f7eaba176aec482fa9/ffi/Makefile.freebsd#L12-L14. For comparison, see the linux Makefile.
i thk the patch is just below, but i don't have a freebsd handy for testing.
diff --git a/ffi/Makefile.freebsd b/ffi/Makefile.freebsd
index ba727e3..7422e13 100644
--- a/ffi/Makefile.freebsd
+++ b/ffi/Makefile.freebsd
@@ -11,7 +11,7 @@ LIBS = $(LLVM_LIBS)
INCLUDE = core.h
SRC = assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp \
executionengine.cpp transforms.cpp passmanagers.cpp targets.cpp dylib.cpp \
- linker.cpp object_file.cpp
+ linker.cpp object_file.cpp custom_passes.cpp
OUTPUT = libllvmlite.so
all: $(OUTPUT)
Soo.. I should uninstall and install again the llvmlite and numba? https://github.com/TDAmeritrade/stumpy/issues/468
@sklam maybe it's related? https://github.com/matplotlib/matplotlib/issues/21202#issuecomment-932609678
Soo.. I should uninstall and install again the llvmlite and numba? TDAmeritrade/stumpy#468
I think in this case you may have to compile llvmlite
from scratch. Normally I would recommend to also compile LLVM
itself, but people have been reporting good success with various distribution based LLVM
packages recently, so I would recommend that. I.e. to use the patch @sklam suggested above and then to recompile llvmlite
using a BSD provided LLVM
package in version 11. Hope this helps and let us know if you need any additional pointers.
No progress here coz the BSD is hosting and limiting administration, eg LLVM.
Running
Getting