Loading documentation/polaris_install.sh 0 → 100644 +22 −0 Original line number Diff line number Diff line #!/bin/bash # Set PYCHARM_HOME, INSTALL_DEPENDENCIES environment variable PYCHARM_HOME="${PYCHARM_HOME:=~/PycharmProjects}" INSTALL_DEPENDENCIES="${INSTALL_DEPENDENCIES:=false}" echo $PYCHARM_HOME cd $PYCHARM_HOME export POLARIS_HOME=$PYCHARM_HOME/POLARIS if [[ ! -d "$POLARIS_HOME" ]] then echo POLARIS not found, cloning into "$(pwd)" git clone https://github.com/polaris-MCRT/POLARIS.git fi cd $POLARIS_HOME if $INSTALL_DEPENDENCIES then sudo apt-get install cmake gcc python3 fi ./compile.sh -f source ~/.bashrc Loading
documentation/polaris_install.sh 0 → 100644 +22 −0 Original line number Diff line number Diff line #!/bin/bash # Set PYCHARM_HOME, INSTALL_DEPENDENCIES environment variable PYCHARM_HOME="${PYCHARM_HOME:=~/PycharmProjects}" INSTALL_DEPENDENCIES="${INSTALL_DEPENDENCIES:=false}" echo $PYCHARM_HOME cd $PYCHARM_HOME export POLARIS_HOME=$PYCHARM_HOME/POLARIS if [[ ! -d "$POLARIS_HOME" ]] then echo POLARIS not found, cloning into "$(pwd)" git clone https://github.com/polaris-MCRT/POLARIS.git fi cd $POLARIS_HOME if $INSTALL_DEPENDENCIES then sudo apt-get install cmake gcc python3 fi ./compile.sh -f source ~/.bashrc