cd ~/git
git clone --recurse-submodules https://github.com/gsi-ee/pack.git
mkdir -p ~/build/pack
If there is ROOT build exists, one can reuse it calling:
source path/to/bin/thisroot.sh
Check if one need some packages to be installed. For ROOT there is https://root.cern/install/dependencies/ list of packages which may be required. For the Go4 one needs Qt6 with webengine components. On the opensuse on can install it with:
sudo zypper install qt6-webenginecore-devel qt6-webenginewidgets-devel qt6-base-common-devel qt6-gui-devel
cd ~/build/pack
cmake ~/git/pack
make -j
. ~/build/pack/dabcgo4login
cd ~/git/pack
git pull
git submodule update --recursive --remote
cd ~/build/pack
make -j
- https://root.cern
- https://go4.gsi.de
- https://dabc.gsi.de
- https://web-docs.gsi.de/~dabc/doc/dabc2/hadaq_trb3_package.html
- https://web-docs.gsi.de/~dabc/doc/stream/hadaq_tdc_calibr.html
When building this package, one can use nix-shell which able to download ROOT and several other
prerequicities automatically. Just start
nix-shell /path/to/pack/
After just proceed with build - cmake should automatically recognize ROOT and build only Go4/DABC/Stream.