# Versions export GDB_VERSION=11.2 export GIT_VERSION=2.28.0 export GCC_VERSION=11.3.0 export OS_VERSION=x86_64-centos7 # —> Set here the path to gdb and git export LCG_CVMFS_BASE=/cvmfs/sft.cern.ch/lcg export LCG_CVMFS_VERSION=$LCG_FULL_VERSION export LCG_CVMFS_BINARYTAG=$BINARY_TAG export LCG_CVMFS_GDB=$LCG_CVMFS_BASE/releases/LCG_$LCG_CVMFS_VERSION/gdb/$GDB_VERSION/$LCG_CVMFS_BINARYTAG export LCG_CVMFS_GIT=$LCG_CVMFS_BASE/contrib/git/$GIT_VERSION/$OS_VERSION # —> Next three environment variables need to be picked up by qtcreator (with %(Env:NAME} # —> These are used for running cmake by cmake_config, only the first is essential for qtcreator export CMAKE_MODULE_PATH=$PWD/cmake_tdaq/cmake/modules export BUILDNAME=$BINARY_TAG export CMAKE_BUILD_TYPE=Release # —> for python export PYTHON_BASE=$LCG_BASE/releases/LCG_$LCG_FULL_VERSION/Python/$PYTHON_VERSION/$BINARY_TAG # -> qtcreator gets confused by the LD_LIBRARY_PATH that also points to a directory with LCG qt5 libraries #remove pointer to LCG qt5 libraries from LD_LIBRARY_PATH export LD_LIBRARY_PATH=$(printenv LD_LIBRARY_PATH | sed s%:%:'\\\n'%g | sed '/qt5/d' | tr -d '\\\n') # —> debugger (gdb) export PATH=$LCG_CVMFS_GDB/bin:$PATH export LD_LIBRARY_PATH=$LCG_CVMFS_GDB/lib:$LD_LIBRARY_PATH export MANPATH=$LCG_CVMFS_GDB/share/man:$MANPATH # —> git (git) export PATH=$LCG_CVMFS_GIT/bin:$PATH export MANPATH=$LCG_CVMFS_GIT/share/man:$MANPATH # —> python (needed when using gdb in qtcreator): export LD_LIBRARY_PATH=$PYTHON_BASE/lib:$LD_LIBRARY_PATH export MANPATH=$PYTHON_BASE/share/man:$MANPATH export PYTHONHOME=$PYTHON_BASE #  —> sets maximum number of parallel bulding processes, typically equal to the maximum number of hyperthreads export MAKEFLAGS="-j16 QUICK=1" #  —> start qtcreator, the correct path has to be specified here #/project/atlas/tdaq/qt5121/Tools/QtCreator/bin/qtcreator &