The Spack-based FairSoft distribution is currently in an EXPERIMENTAL state. We recommend to always work on the latest
dev
branch. In the mid-term future we plan to retire the CMake-based "Legacy" FairSoft and fully switch to the Spack-based one.
This new FairSoft distribution modernizes and reorganizes the framework installation. All needed packages, including the FairRoot package itself, are now installed using Spack.
The packages are installed by Spack automatically using package recipes, stored in the corresponding folders of the packages directory. The recipe lists the dependencies of the given package and describes its installation procedure. A collection of packages that form the software framework is called spack environment - examples of such are located in the env directories.
In the process of installing of a package, Spack creates its list of dependencies, forming the so-called installation tree. It is possible to install different packages/versions with Spack. Since they share a common installation tree, the Spack reuses already available software when installing new package.
- I. Preparation (download the package)
- II. Installation (install packages in environment)
- III. Execution (using the framework)
- IV. Development
- V. Troubleshooting
- VI. Advanced topics