Build with SCRAM
SCRAM is the tool used to compile/build CMSSW projects. Every CMS user should be familiar with scram b
which is basically like make
. Here are a few tips beyond the basic scram b
:
-
scram b -j4
let you compile with 4 cores (likemake -j4
). -
scram b clean
let you do a clean build (likemake clean
). -
scram b distclean && scram b vclean && scram b clean
let you do a really clean build. -
scram b USER_CXXFLAGS="-g -DDEBUG"
let you make a debug build.
For the documentation for SCRAM, see: