|
|
|
... |
|
|
\ No newline at end of file |
|
|
|
This guide gives instructions to worksuite developers for compiling packages for CMSOS 15 alpha1 (gcc 8). For CC7.6 based platforms as provided by CMS system administrators with Software Collections. (Notice that puppet must be disabled).
|
|
|
|
|
|
|
|
**Prepare platform with XDAQ core software**
|
|
|
|
|
|
|
|
1. To develop worksuite software install the CMSOS 15 core alpha1 release on your development machine. As root user, add the following YUM client configuration.
|
|
|
|
|
|
|
|
`# vi /etc/yum.repos.d/cmsos.repo`
|
|
|
|
|
|
|
|
`[cmsos-core]`
|
|
|
|
|
|
|
|
`name=cmsos-core`
|
|
|
|
|
|
|
|
`proxy=http://cmsproxy.cms:3128`
|
|
|
|
|
|
|
|
`baseurl=http://xdaq.web.cern.ch/xdaq/repo/development/core/r15_alpha1/cc7/x86_64/RPMS/`
|
|
|
|
|
|
|
|
`gpgcheck=0`
|
|
|
|
|
|
|
|
`enabled=1`
|
|
|
|
|
|
|
|
2. Install core software
|
|
|
|
|
|
|
|
`# yum groupinstall cmsos_core`
|
|
|
|
|
|
|
|
**Check out worksuite software on required host**
|
|
|
|
|
|
|
|
Prior to checkout software on local disk. Create your *feature_NNN* branch (merge request) on the https://gitlab.cern.ch/cmsos/worksuite from *master* branch.
|
|
|
|
|
|
|
|
`% git clone https://gitlab.cern.ch/cmsos/worksuite.git`
|
|
|
|
|
|
|
|
`% cd worksuite`
|
|
|
|
|
|
|
|
`% git checkout feature_NNN`
|
|
|
|
|
|
|
|
**To compile software**
|
|
|
|
|
|
|
|
`% scl enable devtoolset-8 bash`
|
|
|
|
|
|
|
|
`% export XDAQ_ROOT=/opt/xdaq`
|
|
|
|
|
|
|
|
`% cd worksuite/MY_PACKAGE`
|
|
|
|
|
|
|
|
`% make`
|
|
|
|
|
|
|
|
**To run XDAQ executive**
|
|
|
|
|
|
|
|
`% scl enable devtoolset-8 bash`
|
|
|
|
|
|
|
|
`% export XDAQ_ROOT=/opt/xdaq`
|
|
|
|
|
|
|
|
`% export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/xdaq/lib`
|
|
|
|
|
|
|
|
`% export XDAQ_DOCUMENT_ROOT=/opt/xdaq/htdocs`
|
|
|
|
|
|
|
|
`% export XDAQ_SETUP_ROOT=/opt/xdaq/share`
|
|
|
|
|
|
|
|
`% /opt/xdaq/bin/xdaq.exe` |
|
|
\ No newline at end of file |