Code
Source code is available here
Documentation
User documentation can be found here
Requirements
- c++ compiler (tested with g++ 5,6,7,8,9,10 and clang 9,10)
- PhoenixCMake
- cmake > 3
- make
Installation for Users
git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/config/Phoenixtoml/PhoenixToml.git
cd PhoenixToml
./install.sh
Then PhoenixToml is installed in your $HOME/usr.
If you prefer a customized install path you can do :
git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/config/Phoenixtoml/PhoenixToml.git
cd PhoenixToml
./install.sh /your/install/path
If you prefer a customized install path with custom compilation you can do :
git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/config/Phoenixtoml/PhoenixToml.git
cd PhoenixToml
mkdir -p build
cd build
cmake .. $(phoenixcmake-config --cmake)
make -j `nproc`
make install -j `nproc`
The nproc gives the number of cores of the computer. If you want a build on one core you can just type :
make
make install
Update PhoenixToml
If you want to update the software :
git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/config/Phoenixtoml/PhoenixToml.git
cd PhoenixToml
./update.sh
If you want to update the software with a custom install path :
git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/config/Phoenixtoml/PhoenixToml.git
cd PhoenixToml
./update.sh /your/install/path