FELIX Software Suite hack
FELIX sw suite distribution notes
Extract minimal set instructions
-
Clone the following repository, and
cdto 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.shscript: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, the rm5 ones):
./checkout_all.sh rm-5.0 -
Setup 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 dir:
rm -rf flxlibs-deps ./copy-minimal.sh -
We have the minimal set of dependencies required by
flxlibsin theflxlibs-depsdirectory. One would need to produce a UPS or other package from this.
Last git commit to the markdown source of this page:
Author: roland-sipos
Date: Wed May 26 09:36:13 2021 +0200
If you see a problem with the documentation on this page, please file an Issue at https://github.com/DUNE-DAQ/flxlibs/issues