[pypy-svn] r34530 - pypy/dist/pypy/jit/codegen/llvm

arigo at codespeak.net arigo at codespeak.net
Sun Nov 12 12:41:34 CET 2006


Author: arigo
Date: Sun Nov 12 12:41:33 2006
New Revision: 34530

Modified:
   pypy/dist/pypy/jit/codegen/llvm/llvmjit.py
Log:
More wacking at this hackish-looking file.


Modified: pypy/dist/pypy/jit/codegen/llvm/llvmjit.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/llvm/llvmjit.py	(original)
+++ pypy/dist/pypy/jit/codegen/llvm/llvmjit.py	Sun Nov 12 12:41:33 2006
@@ -29,6 +29,10 @@
 
 os.chdir(curdir)
 
+if not os.path.exists(path):
+    import py
+    py.test.skip("libllvmjit.so compilation failed (no llvm headers?)")
+
 #load the actual library
 llvmjit = cdll.LoadLibrary(os.path.abspath(path))
 class _FuncPtr(_CFuncPtr):



More information about the Pypy-commit mailing list