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

Anders Waldenborg anders at 0x63.nu
Tue Nov 20 14:35:13 PST 2012


Thanks, committed as r168390 (with some minor modifications)

On Sat, Nov 10, 2012 at 01:21:34PM +0800, Scott Tsai wrote:
> 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.




More information about the llvm-commits mailing list