-
Notifications
You must be signed in to change notification settings - Fork 2
FELIX Software Suite hack
-
Clone the following repository, and
cd
to it. All the commands below should executed in the same sequence, otherwise it won't work. https://gitlab.cern.ch/atlas-tdaq-felix/software -
To clone the repositories needed for the minimal set, download the
clone_all-minimal.sh
script:wget https://raw.githubusercontent.com/DUNE-DAQ/flxlibs/develop/scripts/sw-suite/clone_all-minimal.sh chmod +x clone_all-minimal.sh
Then clone the repositories by running the script:
./clone_all-minimal.sh ssh
Or if you have a kerberos ticket:
./clone_all-minimal.sh krb5
-
Checkout appropriate branches. (For now skip this as latest working versions are on the master branch):
./checkout_all.sh <branch name>
-
First set the environment variables to build a rm-5.0 version of the software:
export FELIX_VERSION=5.0.0 export REGMAP_VERSION=0x0500
Then setup the FELIX environment:
source cmake_tdaq/bin/setup.sh x86_64-centos7-gcc8-opt
-
Wget the "hack" script from this repository, that overrides the CMake and GCC versions:
wget https://raw.githubusercontent.com/DUNE-DAQ/flxlibs/develop/scripts/sw-suite/change-compiler.sh wget https://raw.githubusercontent.com/DUNE-DAQ/flxlibs/develop/scripts/sw-suite/copy-minimal.sh chmod +x copy-minimal.sh
-
Do the following steps:
source change-compiler.sh cmake_config x86_64-centos7-gcc8-opt cd x86_64-centos7-gcc8-opt make -j cd ..
-
If everything compiled successfully, copy the minimal set to a target directory:
rm -rf flxlibs-deps ./copy-minimal.sh
-
Now copy the necessary low level tools to the target directory:
wget https://raw.githubusercontent.com/DUNE-DAQ/flxlibs/develop/scripts/sw-suite/copy-tools.sh chmod +x copy-tools.sh ./copy-tools.sh
-
We have the minimal set of dependencies required by
flxlibs
in theflxlibs-deps
directory. One would need to produce a UPS or other package from this.