Difference between revisions of "SCONS for online"

From GlueXWiki
Jump to: navigation, search
(Created page with "=How To Build Online Packages with the SCONS-Based Build System= SCONS is used in the online build system due to its superior scripting abilities and built-in knowledge of depen...")
 
m
Line 1: Line 1:
 
=How To Build Online Packages with the SCONS-Based Build System=
 
=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.
 
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'''

Revision as of 14:50, 10 May 2013

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