User Tools

Site Tools


get_software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
get_software [2013/09/04 11:05] – created abunimehget_software [2014/05/20 09:05] abunimeh
Line 1: Line 1:
-<code> +This setup helps you create standalone GET software releases which you can load and test without overwriting your old settings.
-# Some Envs +
-PASSWORD= +
-SYSTEM=linx64 +
-RELEASE_NO=20130829 +
-GETPATH=~/GET-$RELEASE_NO+
  
-mkdir -p $GETPATH/software/src+  * Download {{:getscripts.tar.bz2|Getscripts}} 
 +  * extract it to your home directory. 
 +  * copy update2.sh and mmSync to your home directory. 
 +  * edit update2.sh and change the release date and the password. If macports and Ice are still screwed up un-comment the export command there. 
 +  * execute update.sh and wait for some time. 
 +  * when done, cd ~/GET-2014XXXX or whatever release number you have. 
 +  * then cd runtime, make any changes to your *.xcfg files 
 +    * you have to synchronize all your macmini farm. open a new terminal window, cd ~ then execute ./mmSync GET-20140516 or whatever version you have 
 +    * This should copy the new release to all mac minis (if you change *.xcfg you have to redo this) 
 +  * If there is a new getHwServer-release-2014XXXX.out on the wiki then download it and copy it to /mnt/local/export/filesystem/ then edit startup.vxsh accordingly. 
 +  * cd ~/GET-2014XXXX/runtime then open multiple tabs 
 +  * type source ../GETUP 
 +    * in multiple tabs 
 +  * run getEccServer and getEccClient then GetController
  
-# Before building from source load these 
-export PREFIX=$GETPATH/software/pkg 
-export PATH=$PREFIX/bin:$PATH 
-export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH 
- 
-# Install Compound TinyXML 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD https://dsm-trac.cea.fr/svn/cconfig/TinyXml/trunk TinyXml 
-cd TinyXml 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX 
-make install 
- 
-# Install CompoundConfig 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD https://dsm-trac.cea.fr/svn/cconfig/CompoundConfig/tags/CompoundConfig-release-$RELEASE_NO CompoundConfig 
-cd CompoundConfig 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX 
-make install 
- 
-# Install ConfigWidgets 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD https://dsm-trac.cea.fr/svn/cconfig/ConfigWidgets/tags/ConfigWidgets-release-$RELEASE_NO ConfigWidgets 
-cd ConfigWidgets 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX 
-make install 
- 
-# Install Utilities 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD  https://dsm-trac.cea.fr/svn/mordicus/Utilities/tags/Utilities-release-20130620patch01 Utilities 
-cd Utilities 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX 
-make install 
- 
-# Install MDaq 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD https://dsm-trac.cea.fr/svn/mordicus/MDaq/tags/MDaq-release-$RELEASE_NO MDaq 
-cd MDaq 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX --with-ice 
-make install 
- 
-# Install Multiframe 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD  https://dsm-trac.cea.fr/svn/mordicus/MultiFrame/tags/MultiFrame-release-$RELEASE_NO MultiFrame 
-cd MultiFrame 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX 
-make install  
- 
-# Install StateMachine 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD  https://dsm-trac.cea.fr/svn/mordicus/StateMachine/tags/StateMachine-release-$RELEASE_NO StateMachine 
-cd StateMachine 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX --with-ice 
-make install 
- 
-  
- 
-# Install GetBench 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD https://dsm-trac.cea.fr/svn/get/GetBench/tags/GetBench-software-release-$RELEASE_NO GetBench 
-cd GetBench 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX --with-ice 
-make install 
- 
-# Install GetController 
-cd $GETPATH/software/src 
-svn co --username attpc --password $PASSWORD https://dsm-trac.cea.fr/svn/get/GetController/tags/GetController-release-$RELEASE_NO GetController 
-cd GetController 
-./autogen.sh 
-mkdir -p build/$SYSTEM 
-cd build/$SYSTEM 
-../../configure --prefix=$PREFIX --with-ice --with-qwt5 
-make install 
- 
-# Done. load example configs 
-cd $GETPATH 
-mkdir runtime && cd runtime 
-cp $GETPATH/software/pkg/share/doc/GetController/examples/workspace.xcfg . 
-cp $GETPATH/software/pkg/share/doc/GetController/examples/pedestals.xcfg . 
-ln -s $GETPATH/software/pkg/share/get-bench/format/CoboFormats* . 
-ln -s $GETPATH/software/pkg/share/get-bench/config/hardwareDescription_fullCoBoStandAlone.xcfg . 
-</code> 
get_software.txt · Last modified: 2014/09/29 11:54 by abunimeh