Permalink
Browse files

Use pypy and link the lib

  • Loading branch information...
1 parent 9e0c06d commit 66c9a79858b3a9b82b07b622c8065c9112ef9cfb @hroncok hroncok committed Oct 13, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 .openshift/action_hooks/post_deploy
  2. +2 −2 misc/run.sh
@@ -14,3 +14,5 @@ grep -v '^Profile Selection:' extrusion.csv > extrusion.csv2
mv extrusion.csv2 extrusion.csv
find extrusion -type f -name multiply.csv -exec $HOME/app-root/runtime/repo/misc/rmmultiply.sh {} \;
+# Link the lib
+ln -s /usr/lib64/libbz2.so $HOME/app-root/runtime/repo/libs/libbz2.so.1.0
View
@@ -1,4 +1,4 @@
#!/bin/bash
-#../libs/pypy/bin/pypy
-python ../libs/skeinforge/skeinforge_application/skeinforge.py -p "$1" "$2" > "$3"; echo $! > "$4"
+export LD_LIBRARY_PATH="../libs/:$LD_LIBRARY_PATH"
+../libs/pypy/bin/pypy ../libs/skeinforge/skeinforge_application/skeinforge.py -p "$1" "$2" > "$3"; echo $! > "$4"
echo end

0 comments on commit 66c9a79

Please sign in to comment.