-
Notifications
You must be signed in to change notification settings - Fork 2
Installation script arguments
The installation script uses internal variables to specify options such as the main installation directory, or the git tags/refs to use when cloning repositories. It's not recommended that you edit those, as most of them are hand-picked so that the project compiles (we're mostly referring to the git refs).
However, if needed, you can override them by passing them as arguments to the script in the form of <variable name>=<value
(e.g. bash deploy_dqmgui.sh INSTALLATION_DIR="~/dqmgui"
).
Below is a list of the values that you will most probably need to change to customize your installation.
Variable name | Description | Default value |
---|---|---|
INSTALLATION_DIR |
The directory to install the GUI into. It should be writable by the user running the script | /data/srv |
EXECUTE_ALL_STEPS |
Configures whether the script should go through all the installation steps required. If you would like to selectively run only one of the installation steps, set this to 0 and enable the specific installation step to 1 , e.g. do_install_crontab=1 . |
1 |
The script is split into steps (see the installation_steps
array declared in the deploy_dqmgui.sh
script), which can all be toggled off or on by arguments when running the script.
The flags are named by concatenating do_
with the name of the step, so, for example, do_check_dependencies
or do_install_rotoglup
.
They are all set to 1
by default, and you can override them when running the script as follows:
bash deploy_dqmgui.sh do_preliminary_checks=0 do_check_dependencies=0
A useful combination that can be used when you've already installed and built all steps once, but you only want to re-compile the DQMGUI part for testing:
bash deploy_dqmgui.sh do_preliminary_checks=0 do_check_dependencies=0 do_create_directories=1 do_install_boost_gil=0 do_install_gil_numeric=0 do_install_rotoglup=0 do_install_classlib=0 do_compile_classlib=0 do_install_dmwm=0 do_install_root=0 do_compile_root=0 do_install_dqmgui=0 do_compile_dqmgui=1 do_install_yui=0 do_install_extjs=0 do_install_d3=0 do_install_jsroot=0 do_clean_crontab=0 do_install_crontab=0