File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ You can inspect a failing [AliHyperloop test](../hyperloop/userdocumentation.md#
4747
4848See the [ Support] ( ../gettingstarted/support.md ) section for the list of Mattermost channels where you can ask for help.
4949
50+ When asking for help with compilation or with running a local analysis, it may be useful to provide basic information about your O2Physics setup.
51+ You can generate it by running the [ ` summarise_o2p_setup.sh ` ] ( summarise_o2p_setup.sh ) bash script in your ` alice ` directory.
52+
5053When posting on Mattermost:
5154
5255- Do not paste the entire content of files or any long blocks of log lines or code directly in the message. If needed, attach the file.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Summarise O2Physics setup
4+
5+ if [[ -n " $( which aliBuild) " ]]; then
6+ echo " aliBuild location: $( which aliBuild) "
7+ # echo "all aliBuild locations: $(whereis aliBuild)"
8+ aliBuild version
9+ else
10+ echo " aliBuild not found."
11+ fi
12+
13+ for repo in alidist O2 O2Physics; do
14+ [[ -d " ${repo} " ]] || { echo " Directory ${repo} not found." ; continue ; }
15+ echo " Last commit of ${repo} : $( cd " ${repo} " && git log -n 1 --pretty=" format:%ci %h" ) "
16+ done
17+
18+ for pkg in O2 O2Physics; do
19+ log=" $ALIBUILD_WORK_DIR /BUILD/${pkg} -latest/log"
20+ [[ -f " ${log} " ]] || { echo " Log file ${log} not found." ; continue ; }
21+ echo " Last build of ${pkg} : $( stat -c " %y" " ${log} " ) "
22+ done
You can’t perform that action at this time.
0 commit comments