Code: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
Line 4: Line 4:


== Building code ==
== Building code ==
* Basic recipe for creating a satellite release
** Basic recipe for creating a satellite release
<pre>
<pre>
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
Line 15: Line 15:
</pre>
</pre>


* Basic recipe for setup, full checkout and build
** Basic recipe for setup, full checkout and build
<pre>
<pre>
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
Line 27: Line 27:
scons -j 4  
scons -j 4  
</pre>
</pre>
* for building options (debug,trigger,visualization) see <code>./buildopts --help</code>
** for building options (debug,trigger,visualization) see <code>./buildopts --help</code>


* [[ReleaseList]] - notes on purpose for each published release
* [[ReleaseList]] - notes on purpose for each published release

Revision as of 16:11, 19 March 2018


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 Satellite
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 
    • for building options (debug,trigger,visualization) see ./buildopts --help
  • ReleaseList - notes on purpose for each published release
  • UPS - notes on using the UPS product setup
  • git - code repository management
  • scons - primary code build 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

Configuring executables


Modules, Products, and Services

Code Management

Standards and Practices

External Packages