ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 4689481 was 9ef4235, checked in by Pavel Demin <pavel-demin@…>, 6 years ago |
update PYTHIA8
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | version: 2
|
---|
2 |
|
---|
3 | shared: &shared
|
---|
4 | steps:
|
---|
5 | - checkout
|
---|
6 | - run:
|
---|
7 | name: Setup environment
|
---|
8 | command: |
|
---|
9 | if [[ -d /opt/root ]]; then
|
---|
10 | echo 'export ROOTSYS=/opt/root' >> $BASH_ENV
|
---|
11 | echo 'export PATH=$ROOTSYS/bin:$PATH' >> $BASH_ENV
|
---|
12 | echo 'export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH' >> $BASH_ENV
|
---|
13 | echo 'export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH' >> $BASH_ENV
|
---|
14 | fi
|
---|
15 | if [[ -d /opt/pythia ]]; then
|
---|
16 | echo 'export PYTHIA8=/opt/pythia' >> $BASH_ENV
|
---|
17 | else
|
---|
18 | echo 'export PYTHIA8=/usr' >> $BASH_ENV
|
---|
19 | fi
|
---|
20 | - run:
|
---|
21 | name: Build Delphes using make
|
---|
22 | command: |
|
---|
23 | make distclean
|
---|
24 | make -j `nproc` HAS_PYTHIA8=true
|
---|
25 | - run:
|
---|
26 | name: Build Delphes using cmake
|
---|
27 | command: |
|
---|
28 | rm -rf build
|
---|
29 | mkdir -p build
|
---|
30 | cd build
|
---|
31 | cmake ..
|
---|
32 | make -j `nproc`
|
---|
33 |
|
---|
34 | jobs:
|
---|
35 | build_1:
|
---|
36 | <<: *shared
|
---|
37 | docker:
|
---|
38 | - image: delphes/docker-ubuntu-1710:latest
|
---|
39 | build_2:
|
---|
40 | <<: *shared
|
---|
41 | docker:
|
---|
42 | - image: delphes/docker-fedora-28:latest
|
---|
43 |
|
---|
44 | workflows:
|
---|
45 | version: 2
|
---|
46 | build_all:
|
---|
47 | jobs:
|
---|
48 | - build_1
|
---|
49 | - build_2
|
---|
Note:
See
TracBrowser
for help on using the repository browser.