Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EUDAQ requires gcc version 4.9 or higher. Installation of gcc 7 6 from devtoolset-76

yum install centos-release-scl
yum-config-manager --enable rhel-server-rhscl-7-rpms
yum install devtoolset-76

Install ROOT and cmake3 from EPEL 7

...

git config --global http.proxy 'socks5h://127.0.0.1:1080' #setup git proxy

git clone -b v1.7.0 https://github.com/eudaq/eudaq.git

mkdir /home/beam/afs

#use sshfs to mount AFS

sshfs -p 2222 <your_slac_user_name>@localhost:/afs /home/beam/afs

cp -r /home/beam/afs/desy.de/group/telescopes/tlu/ZestSC1  /home/beam/eudaq/extern 

cp -r /home/beam/afs/desy.de/group/telescopes/tlu/tlufirmware   /home/beam/eudaq/extern

#unmount AFS

fusermount -u /home/beam/afs

 source /opt/rh/devtoolset-76/enable #enable gcc 76

cd /home/beam/eudaq/build

cmake3 ..

make

...

git clone --recurse-submodules https://:@gitlab.cern.ch:8443/rce/pixelrce.git

cd pixelrce/rce

source /opt/rh/devtoolset-76/enable

source scripts/setup-dev.sh 

 (cd build.rce ; make -j4  ) && ( cd build.host; make -j4 )

...