You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Introduction

We are planning to move away from CMT as our build tool in favor of a the more flexible SCons.  What is SCons?  "SCons is an Open Source software construction tool---that is, a next-generation build tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software." - http://scons.org/

Getting Started

The current version of SCons used by Fermi is version 1.0.1

SLAC Linux

SCons is installed at SLAC in /afs/slac/g/glast/applications/SCons 

Desktop Machines

Prerequisites: 
Python 2.5.1 available from the installer [see the workbook for details]
CVS access [see the workbook for details]

Obtain SCons from http://scons.org  Note version 1.0.1 is not the most recent version, under "Downloads" look for "Other Versions".  

External Libraries

Taking SCons for a Test Drive

 As of November 14, 2008, ScienceTools is the only checkout package fully prepared to be built using SCons.  GlastRelease is a work in progress.

 Obtaining a copy of the code from CVScvs co -r ScienceTools-LATEST-1-2510 ScienceTools-scons

  • No labels