Difference between revisions of "Online release"

From GlueXWiki
Jump to: navigation, search
m
m
Line 1: Line 1:
=How To Make an Online ReleaseS=
+
=How To Make an Online Release=
  
  
Line 8: Line 8:
  
  
2. Check out the script that makes the release
+
2. Check out the script that makes the release:
  
 
  $ svn co https://halldsvn.jlab.org/repos/trunk/online/packages/buildScripts/scripts/create_online_release
 
  $ svn co https://halldsvn.jlab.org/repos/trunk/online/packages/buildScripts/scripts/create_online_release
Line 22: Line 22:
  
  
4.  Set package environment variables needed for the build (note that eventually a system script will take care of this step):
+
4.  Set package environment variables needed for the build.  We are working on a script to do this, until then:
  
 
  $ setenv CMSGROOT /gluex/coda_install_dir/Linux-x86_64
 
  $ setenv CMSGROOT /gluex/coda_install_dir/Linux-x86_64
  (set others as needed, e.g. for EVIO, ET, CODAOBJECT, etc)
+
  (set others as needed, esp. for EVIO, ET, CODAOBJECT)
  
  

Revision as of 16:53, 16 May 2013

How To Make an Online Release

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. We are working on a script to do this, until then:

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


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

$ create_online_release myRelease