File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # #####################################
4+ # Add Herwig, GSL, ThePEG and nlohmann_json packages to root include path and library path if not already present
5+ # #####################################
6+
7+ # ROOT_INCLUDE_PATH
8+ [[ -n " $THEPEG_ROOT " && " :$ROOT_INCLUDE_PATH :" != * " :$THEPEG_ROOT /include:" * ]] && ROOT_INCLUDE_PATH=" $THEPEG_ROOT /include:$ROOT_INCLUDE_PATH "
9+ [[ -n " $HERWIG_ROOT " && " :$ROOT_INCLUDE_PATH :" != * " :$HERWIG_ROOT /include:" * ]] && ROOT_INCLUDE_PATH=" $HERWIG_ROOT /include:$ROOT_INCLUDE_PATH "
10+ [[ -n " $GSL_ROOT " && " :$ROOT_INCLUDE_PATH :" != * " :$GSL_ROOT /include:" * ]] && ROOT_INCLUDE_PATH=" $GSL_ROOT /include:$ROOT_INCLUDE_PATH "
11+ [[ -n " $NLOHMANN_JSON_ROOT " && " :$ROOT_INCLUDE_PATH :" != * " :$NLOHMANN_JSON_ROOT /include:" * ]] && ROOT_INCLUDE_PATH=" $NLOHMANN_JSON_ROOT /include:$ROOT_INCLUDE_PATH "
12+
13+ # LD_LIBRARY_PATH
14+ [[ -n " $THEPEG_ROOT " && " :$LD_LIBRARY_PATH :" != * " :$THEPEG_ROOT /lib/ThePEG:" * ]] && LD_LIBRARY_PATH=" $THEPEG_ROOT /lib/ThePEG:$LD_LIBRARY_PATH "
15+ [[ -n " $HERWIG_ROOT " && " :$LD_LIBRARY_PATH :" != * " :$HERWIG_ROOT /lib/Herwig:" * ]] && LD_LIBRARY_PATH=" $HERWIG_ROOT /lib/Herwig:$LD_LIBRARY_PATH "
16+ [[ -n " $GSL_ROOT " && " :$LD_LIBRARY_PATH :" != * " :$GSL_ROOT /lib:" * ]] && LD_LIBRARY_PATH=" $GSL_ROOT /lib:$LD_LIBRARY_PATH "
17+
18+ export ROOT_INCLUDE_PATH LD_LIBRARY_PATH
19+
320# #####################################
421# Entrypoint for O2DPG related tests #
522# #####################################
You can’t perform that action at this time.
0 commit comments