Difference between revisions of "Code"

From Mu2eWiki
Jump to navigation Jump to search
Line 80: Line 80:
 
** [[Jenkins|Jenkins overview]]
 
** [[Jenkins|Jenkins overview]]
 
** [http://mu2e.fnal.gov/atwork/computing/ops/nightlyBuild/nightly.shtml  Jenkins Nightly build results]
 
** [http://mu2e.fnal.gov/atwork/computing/ops/nightlyBuild/nightly.shtml  Jenkins Nightly build results]
* [[Cvmfs]]
+
* [[Cvmfs|CVMFS]]
 
* [[CodeDistribution|Download]] - pull a local copy to remote institutions or laptops
 
* [[CodeDistribution|Download]] - pull a local copy to remote institutions or laptops
 
* [[BTrk]] - the KalMan fitter code is in this non-standard product
 
* [[BTrk]] - the KalMan fitter code is in this non-standard product

Revision as of 19:41, 6 April 2017


example page for git documentation

Building code

  • Basic recipe for creating a satellite release
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
setup mu2e
/cvmfs/mu2e.opensciencegrid.org/Offline/v6_0_0/SLF6/prof/Offline/bin/createSatelliteRelease
cd Offline
source setup.sh
[add content]
scons -j 4 
  • Basic recipe for setup, full checkout and build
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
setup mu2e
git clone http://cdcvs.fnal.gov/projects/mu2eofflinesoftwaremu2eoffline/Offline.git
- or -
git clone ssh://p-mu2eofflinesoftwaremu2eoffline@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwaremu2eoffline/Offline.git
cd Offline
git checkout -b work
source setup.sh
scons -j 4 
  • UPS
  • git code repository management
  • scons code building tool
  • Satellite Releases for building only the part of the code base you need
  • CVS - a few pieces of code are still in the CVS repository

Modules, Products, and Services

Configuring executables

Code Management

Standards and Practices

External Packages