First, you need a custom compilation of LLVM 3.2 (as of July 2014). As of July 2014, LLVM-Py will NOT work with the default LLVM 3.4 in Ubuntu 14.04.
Note, these commands are NOT sudo/root. I choose to install LLVM 3.2 to ~/LLVM32.
the -j2 option is to use 2 CPU cores, you can increase this if you know you have more CPU cores.
tar xvfz llvm-3.2.src.tar.gz
./configure --enable-optimized --prefix=$HOME/LLVM32
REQUIRES_RTTI=1 make -j2 install
After 15 minutes or so the LLVM 3.2 compilation & installation completes
Now we install LLVM-Py:
git clone email@example.com:llvmpy/llvmpy.git
sudo LLVM_CONFIG_PATH=$HOME/LLVM32/bin/llvm-config python setup.py install
Now you can run the tests by pasting into Terminal (NOT from the LLVMPY directory you just installed from):
python -c "import llvm; llvm.test()"