(Build packages required by art) (Build a distributable ups) (Building art externals)
(Building extra packages for the neutrino experiments) (Building extra packages for Mu2e)
(Building CET packages and art)

Build a distributable ups

Note that <product-dir> is the fully qualified path to your external packages directory.
These instructions presume that you already have the source code. If not, Download the source code.

Streamlined instructions to build both ups and cmake

The do_this_first script will build both ups and cmake, generating log files for each build.

cd <product-dir>/art_externals/<version>


Verify that the build was successful by setting up your new products area

source <product-dir>/setup
ups list -aK+ [-z <product-dir>]
ups flavor

Useful information

"ups list -aK+" should show just upd, ups, and cmake at this point. However, if you are working on a machine with another ups database, your $PRODUCTS may list that database as well. If this is the case, use "ups list -aK+ -z <product-dir>" to look at just your database.

Depending on your preferences, you may wish to set PRODUCTS so that only this new database is used:

bash: export PRODUCTS=<product-dir>
tcsh: setenv PRODUCTS <product-dir>

"ups flavor" returns the full ups "flavor" of this machine.

This is just the basic infrastructure you need before installing the remaining products.