Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
Table of Contents minLevel 2
You must have these build tools available on the system.
...
If you want to build the documentation then this is also required.
...
Code Block | ||||
---|---|---|---|---|
| ||||
ssh rhel6-64
scl enable devtoolset-2 bash
gcc --version |
You should see the following gcc version now.
...
This should set ROOTSYS to point at your ROOT installation.
Code Block | ||
---|---|---|
| ||
cd workdir
svn checkout http://svnsrv.desy.de/public/GeneralBrokenLines/tags/V01-16-02 GeneralBrokenLines
cd GeneralBrokenLines/cpp
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../.. ..
make install
cd ../..
export GBL_DIR=$PWD |
The project is stored in a public github repository. The code can be "cloned" i.e. copied to a users local machine by issuing the following commands from a terminal.
...
A github account is not required to clone the source code.
You may also want to use a tagged release. For instance, the v0.7 tag can be downloaded from the following URL.
https://github.com/omar-moreno/hps-dst/releases/tag/v0.7
Or you can execute these shell commands.
Code Block | ||||
---|---|---|---|---|
| ||||
wget https://github.com/omar-moreno/hps-dst/archive/v0.7.tar.gz
tar zxvf v0.7.tar.gz
cd hps-dst-0.7 |
Now you may build the project locally in the usual way.
Before the project is built, the following environment variables need to be set.
...
Then the project should be built as follows.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
cd hps-dst/ mkdir build; cd build cmake ../ make |
...