Installing the new felix-distribution package from gitlab repository - https://gitlab.cern.ch/atlas-tdaq-felix/felix-distribution/-/tree/master?ref_type=heads
and checking out the recommended tag version (can be checked here - https://atlas-project-felix.web.cern.ch/atlas-project-felix/user/releases.html).
For example, to setup felix SW release 5.0.2:
git clone https://gitlab.cern.ch/atlas-tdaq-felix/felix-distribution.git
git tags (to check the list of available tags, otherwise run "git fetch --all --tags" to get all the tags)
git checkout tags/felix-05-00-02 -b master_felix-05-00-02 (to checkout the required tag version and switch to a new branch)
It's important to checkout the desired tag before initializing and cloning the submodules, so that they are of the appropriate commit and not only the latest version.
git submodule init
git submodule update
source python_env/bin/activate
source cmake_tdaq/bin/setup.sh
Note: Check the REGMAP_VERSION at this point, it should be 0x0500. If not, then execute "export REGMAP_VERSION=0x0500" for Phase-II SW and then compile as follows:
cmake_config
cd x86_64-centos7-gcc11-opt
make -j32
source setup.sh (for new terminal sessions, alongwith export REGMAP_VERSION=0x0500)