Fork me on GitHub

source: git/doc/update_fastjet.sh@ adeddd8

ImprovedOutputFile Timing
Last change on this file since adeddd8 was e15936c, checked in by Pavel Demin <pavel-demin@…>, 5 years ago

disable auto_ptr in FastJet library

  • Property mode set to 100644
File size: 4.1 KB
Line 
1version=3.3.2
2
3wget http://fastjet.fr/repo/fastjet-${version}.tar.gz
4
5tar -zxf fastjet-${version}.tar.gz
6mkdir -p fastjet/plugins
7mkdir -p fastjet/internal
8mkdir -p fastjet/tools
9
10cd fastjet-${version}
11./configure --enable-allcxxplugins --disable-auto-ptr
12cd -
13
14echo ${version} > fastjet/VERSION
15
16cd fastjet
17cp -a ../fastjet-${version}/AUTHORS .
18cp -a ../fastjet-${version}/COPYING .
19cp -a ../fastjet-${version}/src/*.cc .
20cp -a ../fastjet-${version}/include/fastjet/*.h .
21cp -a ../fastjet-${version}/include/fastjet/*.hh .
22cp -a ../fastjet-${version}/include/fastjet/internal/*.hh internal
23cp -a ../fastjet-${version}/include/fastjet/internal/*.icc internal
24cp -a ../fastjet-${version}/tools/*.cc tools
25cp -a ../fastjet-${version}/tools/fastjet/tools/*.hh tools
26cd -
27
28cd fastjet/plugins
29
30mkdir -p ATLASCone/fastjet
31cp -a ../../fastjet-${version}/plugins/ATLASCone/*.hh ATLASCone
32cp -a ../../fastjet-${version}/plugins/ATLASCone/*.cc ATLASCone
33cp -a ../../fastjet-${version}/plugins/ATLASCone/README ATLASCone
34cp -a ../../fastjet-${version}/plugins/ATLASCone/fastjet/*.hh ATLASCone/fastjet
35
36mkdir -p CDFCones/fastjet
37cp -a ../../fastjet-${version}/plugins/CDFCones/*.cc CDFCones
38cp -a ../../fastjet-${version}/plugins/CDFCones/CDFcode/*.hh CDFCones
39cp -a ../../fastjet-${version}/plugins/CDFCones/CDFcode/*.cc CDFCones
40cp -a ../../fastjet-${version}/plugins/CDFCones/fastjet/*.hh CDFCones/fastjet
41
42mkdir -p CMSIterativeCone/fastjet
43cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/*.h CMSIterativeCone
44cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/*.cc CMSIterativeCone
45cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/README CMSIterativeCone
46cp -a ../../fastjet-${version}/plugins/CMSIterativeCone/fastjet/*.hh CMSIterativeCone/fastjet
47
48mkdir -p D0RunICone/fastjet
49cp -a ../../fastjet-${version}/plugins/D0RunICone/*.h D0RunICone
50cp -a ../../fastjet-${version}/plugins/D0RunICone/*.hpp D0RunICone
51cp -a ../../fastjet-${version}/plugins/D0RunICone/*.cc D0RunICone
52cp -a ../../fastjet-${version}/plugins/D0RunICone/fastjet/*.hh D0RunICone/fastjet
53
54mkdir -p D0RunIICone/fastjet
55cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.h D0RunIICone
56cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.hpp D0RunIICone
57cp -a ../../fastjet-${version}/plugins/D0RunIICone/*.cc D0RunIICone
58cp -a ../../fastjet-${version}/plugins/D0RunIICone/fastjet/*.hh D0RunIICone/fastjet
59
60mkdir -p EECambridge/fastjet
61cp -a ../../fastjet-${version}/plugins/EECambridge/*.cc EECambridge
62cp -a ../../fastjet-${version}/plugins/EECambridge/fastjet/*.hh EECambridge/fastjet
63
64mkdir -p GridJet/fastjet
65cp -a ../../fastjet-${version}/plugins/GridJet/*.cc GridJet
66cp -a ../../fastjet-${version}/plugins/GridJet/fastjet/*.hh GridJet/fastjet
67
68mkdir -p Jade/fastjet
69cp -a ../../fastjet-${version}/plugins/Jade/*.cc Jade
70cp -a ../../fastjet-${version}/plugins/Jade/fastjet/*.hh Jade/fastjet
71
72mkdir -p NestedDefs/fastjet
73cp -a ../../fastjet-${version}/plugins/NestedDefs/*.cc NestedDefs
74cp -a ../../fastjet-${version}/plugins/NestedDefs/fastjet/*.hh NestedDefs/fastjet
75
76cp -a ../../fastjet-${version}/plugins/README .
77
78mkdir -p SISCone/fastjet
79cp -a ../../fastjet-${version}/plugins/SISCone/SISConePlugin.cc SISCone
80cp -a ../../fastjet-${version}/plugins/SISCone/siscone/AUTHORS SISCone
81cp -a ../../fastjet-${version}/plugins/SISCone/siscone/COPYING SISCone
82cp -a ../../fastjet-${version}/plugins/SISCone/siscone/siscone/*.h SISCone
83cp -a ../../fastjet-${version}/plugins/SISCone/siscone/siscone/*.cpp SISCone
84cp -a ../../fastjet-${version}/plugins/SISCone/fastjet/*.hh SISCone/fastjet
85rename 's/\.cpp$/.cc/' SISCone/*.cpp
86
87mkdir -p TrackJet/fastjet
88cp -a ../../fastjet-${version}/plugins/TrackJet/*.cc TrackJet
89cp -a ../../fastjet-${version}/plugins/TrackJet/fastjet/*.hh TrackJet/fastjet
90
91sed -i 's/#include "fastjet\/D0RunIBaseConePlugin.hh"/#include "D0RunIBaseConePlugin.hh"/' D0RunICone/fastjet/D0RunIpre96ConePlugin.hh
92sed -i 's/#include "fastjet\/D0RunIBaseConePlugin.hh"/#include "D0RunIBaseConePlugin.hh"/' D0RunICone/fastjet/D0RunIConePlugin.hh
93
94sed -i 's/#include "siscone\//#include "/' SISCone/SISConePlugin.cc
95sed -i 's/#include <siscone\/config.h>/#include "config.h"/' SISCone/split_merge.h
96cd -
Note: See TracBrowser for help on using the repository browser.