Online release

From GlueXWiki
Revision as of 16:26, 16 May 2013 by Wolin (Talk | contribs)

Jump to: navigation, search

How To Make an Online ReleaseS

Official online releases must be made from the hdsys account. You can make a release in your own area by following the instructions below, with some obvious modifications.


1. Log into the hdsys account on the Hall D online computing cluster. If you don't know how to do this then you should not be making official releases!


2. Check out the script that makes the release

$ svn co https://halldsvn.jlab.org/repos/trunk/online/packages/buildScripts/scripts/create_online_release

usage:
    create_online_release [-noBuild] [-noCheckout] [-noCPP] [-noJava] [-noInstall]


3. Set PATH to point to gcc 4.8.0 (or whatever compiler you want) and set LD_LIBRARY_PATH accordingly:

$ setenv PATH /apps/gcc/4.8.0/bin:"$PATH"
$ setenv LD_LIBRARY_PATH /apps/gcc/4.8.0/lib64:/apps/gcc/4.8.0/lib:"$LD_LIBRARY_PATH"


4. Set package environment variables needed for the build (note that eventually a system script will take care of this step):

$ setenv CMSGROOT /gluex/coda_install_dir/Linux-x86_64
(set others as needed, e.g. for EVIO, ET, CODAOBJECT, etc)


5. Create release dirs, check out, build and install everything

$ create_online_release myRelease