SCONS for online
How To Build Online Packages with the SCONS-Based Build System
Introduction
SCONS is used in the online build system due to its superior scripting abilities and built-in knowledge of dependencies in different languages (n.b. Make is used in the offline). It is based on Python, the main scripting language used in the online. Package building is vastly simplified via a library of SCONS scripts that implement the Hall D directory and installation scheme. The result is that package developers will likely only need to make one-line modifications to SCONS scripts to build their package.
Developers need only deal with the individual packages and their directory structures, and should work from their own personal accounts. Deployment of multiple packages in the production environment, and the directory structures used, is the concern of software system managers (via the hdsys account), and will not be discussed here.
SVN is used for code management for all packages, in the same repository as the offline but in a separate online area. Code management will not be discussed further in this note.
Creating a new package
Building a package