7 # designed to work on Jenkins
9 # for checking out from JJ's github repo
11 echo
"dunepdsprce JJ github: $JJVERSION"
13 # -- the base qualifier is only the compiler version qualifier: e.g. "e15"
15 echo
"base qualifiers: $QUAL"
17 # note -- this script knows about the correspondence between compiler qualifiers and compiler versions.
18 # there is another if-block later on with the same information (apologies for the duplication). If a new compiler
19 # version is added here, it must also be added where CV is set.
23 if [ $QUAL = e14 ]; then
26 elif [ $QUAL = e15 ]; then
29 elif [ $QUAL = e17 ]; then
32 elif [ $QUAL = c2 ]; then
34 COMPILERCOMMAND=clang++
35 elif [ $QUAL = e19 ]; then
38 elif [ $QUAL = c7 ]; then
40 COMPILERCOMMAND=clang++
43 echo
"Compiler and version string: " $COMPILERVERS
44 echo
"Compiler command: " $COMPILERCOMMAND
46 echo
"COMPILERQUAL_LIST: " $COMPILERQUAL_LIST
48 if [
"$COMPILERVERS" =
unknown ]; then
49 echo
"unknown compiler flag: $QUAL"
55 echo
"build type: $BUILDTYPE"
57 # -- gen, avx, or avx2
59 echo
"simd qualifier: $SIMDQUALIFIER"
61 echo
"workspace: $WORKSPACE"
64 # Environment setup; look in CVMFS first
66 if [ -f /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh ]; then
67 source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh ||
exit 1
68 elif [ -f /
grid/fermiapp/products/dune/setup_dune_fermiapp.sh ]; then
69 source /
grid/fermiapp/products/dune/setup_dune_fermiapp.sh ||
exit 1
71 echo
"No setup file found."
77 # Use system git on macos, and the one in ups for linux
79 if ! uname | grep -
q Darwin; then
84 rm -rf $WORKSPACE/temp ||
exit 1
87 rm -f $WORKSPACE/copyBack
then source grid fermiapp products dune setup_dune_fermiapp sh exit else echo No setup file found exit fi setup
then cvmfs grid cern ch util cvmfs uptodate cvmfs uboone opensciencegrid org products fi source cvmfs uboone opensciencegrid org products setup_uboone sh exit else echo No setup file found exit fi if!uname grep q Darwin
then source cvmfs dune opensciencegrid org products dune setup_dune sh exit elif[-f/grid/fermiapp/products/dune/setup_dune_fermiapp.sh]
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu unknown