[llvm-commits] [PATCH] [python] fix get_library()

Scott Tsai scottt.tw at gmail.com
Fri Nov 9 21:21:34 PST 2012


Before this fix, the LLVM Python bindings on SVN trunk always fail with:
        Exception: LLVM shared library not found!
since it's still looking for a library named "LLVM-3.1svn".

Besides updating the LLVM version in the library name,
this patch also changes llvm.get_library() to make it possible to run
the unit tests without installing the LLVM shared library into a
default linker search path.

e.g. after this patch, running the llvm/python unit tests with:
LD_LIBRARY_PATH=../build/Debug+Asserts/lib nosetests -v
bindings/python/llvm/tests/
would work on Linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-fix-get_library.patch
Type: application/octet-stream
Size: 2991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121110/a7d092e7/attachment.obj>


More information about the llvm-commits mailing list