Created
February 22, 2018 18:52
-
-
Save zafarali/7186f8790c8c4288a9c4e72c04f8c8ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSTALLDIR="$(pwd)/roboschool_installation" | |
echo "installing roboschool at $INSTALLDIR" | |
mkdir $INSTALLDIR | |
cd $INSTALLDIR | |
echo "Now cloning roboschool from github." | |
git clone https://github.com/openai/roboschool | |
ROBOSCHOOL_PATH="${INSTALLDIR}/roboschool" | |
echo "ROBOSCHOOL_PATH was set to $ROBOSCHOOL_PATH" | |
cd "$ROBOSCHOOL_PATH" | |
git clone https://github.com/olegklimov/bullet3 -b roboschool_self_collision | |
mkdir bullet3/build | |
cd bullet3/build | |
echo "making bullet3" | |
cmake -DBUILD_SHARED_LIBS=ON -DUSE_DOUBLE_PRECISION=1 -DCMAKE_INSTALL_PREFIX:PATH=$ROBOSCHOOL_PATH/roboschool/cpp-household/bullet_local_install -DBUILD_CPU_DEMOS=OFF -DBUILD_BULLET2_DEMOS=OFF -DBUILD_EXTRAS=OFF -DBUILD_UNIT_TESTS=OFF -DBUILD_CLSOCKET=OFF -DBUILD_ENET=OFF -DBUILD_OPENGL3_DEMOS=OFF .. | |
make -j4 | |
make install | |
cd $INSTALLDIR/ | |
echo "installing roboschool" | |
pip install -e roboschool/ | |
echo "installation complete. To test you can try running: python roboschool/agent_zoo/demo_race2.py" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment