Difference between revisions of "Online release"
From GlueXWiki
m |
|||
Line 2: | Line 2: | ||
− | 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 | + | 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 the obvious modifications. |
Line 8: | Line 8: | ||
− | 2. | + | 2. Get a copy of the release script: |
− | $ svn | + | $ svn cat https://halldsvn.jlab.org/repos/trunk/online/packages/buildScripts/scripts/create_online_release > create_online_release |
usage: | usage: | ||
Line 22: | Line 22: | ||
− | 4. Set | + | 4. Set 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 |
− | + | $ setenv EVIOROOT /gluex/coda_install_dir/Linux-x86_64 | |
+ | $ setenv ETROOT /gluex/coda_install_dir/Linux-x86_64 | ||
+ | $ setenv CODAOBJECTROOT /gluex/coda_install_dir/Linux-x86_64 | ||
Revision as of 11:23, 20 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 the 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. Get a copy of the release script:
$ svn cat https://halldsvn.jlab.org/repos/trunk/online/packages/buildScripts/scripts/create_online_release > 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 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 EVIOROOT /gluex/coda_install_dir/Linux-x86_64 $ setenv ETROOT /gluex/coda_install_dir/Linux-x86_64 $ setenv CODAOBJECTROOT /gluex/coda_install_dir/Linux-x86_64
5. Create release dirs, check out, build and install everything
$ create_online_release myRelease