Skip to content
Snippets Groups Projects

Work around to make sure eosmount works for doxygen generation

Merged Marco Clemencic requested to merge clemenci/LbScripts:eos-work-around into master
1 file
+ 3
9
Compare changes
  • Side-by-side
  • Inline
#!/bin/bash
# Suggested acrontab entry:
#
# 00 20 * * * lxbuild173 /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/prod/InstallArea/scripts/buildGeneralDoc
#
# The user running the script must be able to create AFS volumes in the $LHCBDOC
# directory.
# Temporary log file (we know where to put the log file only after the LbLogin)
tmplog=$(mktemp)
outlog=$tmplog
@@ -76,8 +69,9 @@ basedir=`dirname "$0"`
logsrc $basedir/LbLogin.sh
# force search path to CVMFS, wherever LbLogin is
export CMAKE_PREFIX_PATH=/cvmfs/lhcb.cern.ch/lib/lhcb:/cvmfs/lhcb.cern.ch/lib/lcg/releases:/cvmfs/lhcb.cern.ch/lib/lcg/app/releases:/cvmfs/lhcb.cern.ch/lib/lcg/external
# add AFS too for safety
export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/afs/cern.ch/lhcb/software/releases:/afs/cern.ch/sw/Gaudi/releases:/afs/cern.ch/sw/lcg/releases:/afs/cern.ch/sw/lcg/app/releases
# make sure that eosmount works
systemctl status eosd | grep -q eosproject || sudo systemctl restart eosd
# Location of the documentation directories
export DOCROOT=/eos/project/l/lhcbwebsites/www/doxygen
Loading