Include Page |
---|
| PSDM:PageMenuBegin |
---|
| PSDM:PageMenuBegin |
---|
|
Include Page |
---|
| PSDM:PageMenuEnd |
---|
| PSDM:PageMenuEnd |
---|
|
Introduction
The offline build system is based on SCons. It is implemented as a set of scripts that import functionality from SConsTools
(software developed internally). SConsTools introduces a package and release structure to support the build process. The top level directory is for the release and contains the SConstruct
file. Each package is in a sub-directory to the release. Packages have a SConscript
file. The structure of a release directory is explained in this page about Packages and Releases. SConsTools has a number of features including:
...
Most packages require no additional options beyond those in the default configuration. If a package requires additional build options, these can often be added by calling the standardSConscript()
function in the SConscript file in the package directory. For instance, suppose a psana - Original Documentation user is developing a module in a package called MyPackage
which needs to use functions from the Gnu Scientific Library. They would add the following line:
...