-
Notifications
You must be signed in to change notification settings - Fork 4
/
install.yml
819 lines (758 loc) · 16.6 KB
/
install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
GCCSys:
post_compile:
handler: lib
Make:
post_compile:
handler: lib
MySQL:
post_compile:
handler: lib
GCC:
download:
handler: http
param:
url: http://ftp.gnu.org/gnu/gcc/gcc-{version}/gcc-{version}.tar.gz
extract:
handler: tar
param:
file: gcc-{version}.tar.gz
main: gcc-{version}
pre_compile:
handler: command
param:
cmd:
- ['contrib/download_prerequisites']
- ['sed', '-i', 's/M4=m4-not-needed/M4=m4/', 'gmp/configure.in']
- ['sed', '-i', 's/M4=m4-not-needed/M4=m4/', 'gmp/configure']
compile:
handler: conf_make
param:
configure: ['--enable-languages=c,c++,fortran', --disable-multilib]
install: install-strip
post_compile:
handler: lib
clean: &CLEAN_WITH_SOURCE
handler: clean
param:
dir: [build, source, download, log]
CMake:
download:
handler: http
param:
url: http://www.cmake.org/files/v{version:.3}/cmake-{version}.tar.gz
extract:
handler: tar
param:
file: cmake-{version}.tar.gz
main: cmake-{version}
pre_compile:
handler: env
compile:
handler: conf_make
post_compile:
handler: lib
clean:
<<: *CLEAN_WITH_SOURCE
XercesC:
download:
handler: http
param:
url: https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-{version}.tar.gz
extract:
handler: tar
param:
file: xerces-c-{version}.tar.gz
main: xerces-c-{version}
pre_compile:
handler: env
compile:
handler: conf_make
param:
configure: [--enable-transcoder-gnuiconv, --enable-msgloader-inmemory]
post_compile:
handler: lib
clean: &CLEAN_COMMON
handler: clean
param:
dir: [build, download, log]
QT:
download:
handler: http
param:
url: http://download.qt.io/archive/qt/{version:.3}/qt-everywhere-opensource-src-{version}.tar.gz
extract:
handler: tar
param:
file: qt-everywhere-opensource-src-{version}.tar.gz
main: qt-everywhere-opensource-src-{version}
pre_compile:
handler: env
compile:
handler: qt
param:
configure: [-prefix-install, -fast, -make, libs, -no-separate-debug-info, -no-xkb, -no-xinerama, -no-webkit, -opensource]
post_compile:
handler: lib
clean:
<<: *CLEAN_WITH_SOURCE
CLHEP:
download:
handler: http
param:
url: https://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-{version}.tgz
extract:
handler: tar
param:
file: clhep-{version}.tgz
main: '{version}/CLHEP'
pre_compile:
handler: env
compile:
handler: cmake
post_compile:
handler: lib
clean:
<<: *CLEAN_COMMON
GSL:
download:
handler: http
param:
url: http://mirrors.kernel.org/gnu/gsl/gsl-{version}.tar.gz
extract:
handler: tar
param:
file: gsl-{version}.tar.gz
main: gsl-{version}
pre_compile:
handler: env
compile:
handler: conf_make
post_compile:
handler: lib
clean:
<<: *CLEAN_COMMON
ROOT:
download:
handler: http
param:
url: https://root.cern.ch/download/root_v{version}.source.tar.gz
extract:
handler: tar
param:
file: root_v{version}.source.tar.gz
main: root
pre_compile:
handler: patch
param:
file: root-5.34.18.patch
compile:
handler: conf_make
param:
ignore_install_prefix: true
configure:
- --fail-on-missing
- --enable-builtin-afterimage
- --enable-builtin-ftgl
- --enable-builtin-freetype
- --enable-builtin-glew
- --enable-builtin-pcre
- --enable-builtin-zlib
- --enable-builtin-lzma
- --enable-explicitlink
- --enable-soversion
- --enable-roofit
- --enable-minuit2
- --enable-gdml
- --enable-table
- --enable-unuran
- --enable-gsl-shared
- --with-gsl-incdir={GSL_inc_dir}
- --with-gsl-libdir={GSL_lib_dir}
- --enable-qt
- --with-qt-incdir={QT_inc_dir}
- --with-qt-libdir={QT_lib_dir}
- --enable-python
env_install:
ROOTSYS: '{ROOT_root_dir}'
post_compile:
handler: lib
clean:
<<: *CLEAN_COMMON
Geant4:
download:
handler: http
param:
url: http://geant4.cern.ch/support/source/geant4.{version}.tar.gz
extract:
handler: tar
param:
file: geant4.{version}.tar.gz
main: geant4.{version}
pre_compile:
handler: command
param:
cmd: ['sed', '-i', 's#http://geant4.cern.ch/support/source#http://cepcsoft.ihep.ac.cn/package/cepcsoft/Geant4/support/source#', 'cmake/Modules/Geant4InstallData.cmake']
compile:
handler: cmake
param:
envcmake:
GEANT4_INSTALL_DATA: 'ON'
GEANT4_USE_SYSTEM_EXPAT: 'OFF'
GEANT4_USE_SYSTEM_CLHEP: 'ON'
GEANT4_USE_OPENGL_X11: 'ON'
GEANT4_USE_QT: 'ON'
GEANT4_USE_GDML: 'ON'
XERCESC_ROOT_DIR: '{XercesC_root_dir}'
post_compile:
handler: lib
clean:
<<: *CLEAN_COMMON
HepMC:
download:
handler: http
param:
url: http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-{version}.tar.gz
extract:
handler: tar
param:
file: HepMC-{version}.tar.gz
main: HepMC-{version}
pre_compile:
handler: env
compile:
handler: cmake
param:
envcmake:
momentum: GEV
length: MM
post_compile:
handler: lib
clean:
<<: *CLEAN_COMMON
ilcsoft_base: &ILCSOFT
pre_compile:
handler: env
compile: &ILCSOFT_COMPILE
handler: cmake
param: &ILCSOFT_CMAKE_PARAM
ignore_install_prefix: true
envcmake: &ILCSOFT_ENVCMAKE
BUILD_32BIT_COMPATIBLE: 'OFF'
INSTALL_DOC: 'OFF'
CMAKE_BUILD_TYPE: RelWithDebInfo
post_compile:
handler: lib
ILCUTIL:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/ilctools/ilcutil/tags/v{version}
pre_compile:
handler: patch
param:
file: ILCUTIL-01-01.patch
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
LCIO:
download:
handler: svn
param:
url: svn://svn.freehep.org/lcio/tags/v{version}
pre_compile:
handler: env
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
BUILD_ROOTDICT: 'ON'
INSTALL_JAR: 'OFF'
LCIO_GENERATE_HEADERS: 'OFF'
clean:
<<: *CLEAN_COMMON
GEAR:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/gear/gear/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
GEAR_TGEO: 'ON'
clean:
<<: *CLEAN_COMMON
Mokka:
download:
handler: http
param:
url: http://cepcsoft.ihep.ac.cn/package/cepcsoft/Mokka/{version}/Mokka-{version}.tar.gz
extract:
handler: tar
param:
file: Mokka-{version}.tar.gz
main: Mokka-{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
MokkaC:
download:
handler: http
param:
url: http://cepcsoft.ihep.ac.cn/package/cepcsoft/MokkaC/{version}/MokkaC-{version}.tar.gz
extract:
handler: tar
param:
file: MokkaC-{version}.tar.gz
main: MokkaC-{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
CondDBMySQL:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/calice/CondDBMySQL/tags/CondDBMySQL_ILC-{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
Druid:
download:
handler: http
param:
url: http://cepcsoft.ihep.ac.cn/package/cepcsoft/Druid/{version}/Druid-{version}.tar.gz
extract:
handler: tar
param:
file: Druid-{version}.tar.gz
main: Druid-{version}
pre_compile:
handler: env
compile:
handler: make
param:
make_root: src
clean:
<<: *CLEAN_COMMON
CED:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/CED/tags/v{version}
pre_compile:
handler: patch
param:
file: CED-01-09-01.patch
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
CED_SERVER: 'ON'
clean:
<<: *CLEAN_COMMON
CEDViewer:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/CEDViewer/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
FastJet:
download:
handler: http
param:
#url: http://www.lpthe.jussieu.fr/~salam/fastjet/repo/fastjet-{version}.tar.gz
url: http://fastjet.fr/repo/fastjet-{version}.tar.gz
extract:
handler: tar
param:
file: fastjet-{version}.tar.gz
main: fastjet-{version}
compile:
handler: conf_make
param:
configure: --enable-shared
clean:
<<: *CLEAN_COMMON
FastJetClustering:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/FastJetClustering/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
MarlinFastJet:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/MarlinFastJet/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
KalTest:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/kaltest/KalTest/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
KalDet:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/kaltest/KalDet/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
GBL:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/GeneralBrokenLines/tags/V{version}/cpp
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
LCCD:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/lccd/lccd/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
LCCD_CONDDBMYSQL: 'ON'
clean:
<<: *CLEAN_COMMON
RAIDA:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/ilctools/RAIDA/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
MarlinUtil:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/MarlinUtil/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
Marlin:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlin/Marlin/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
MARLIN_GUI: 'OFF'
clean:
<<: *CLEAN_COMMON
MarlinReco:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/MarlinReco/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
MARLINRECO_FORTRAN: 'OFF'
clean:
<<: *CLEAN_COMMON
MarlinTrk:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/MarlinTrk/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
MarlinTrkProcessors:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/MarlinTrkProcessors/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
Clupatra:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/Clupatra/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
LCFIVertex:
pre_compile:
handler: command
param:
cmd: ['tar', '-xvf', 'boost.tgz']
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/LCFIVertex/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
AIDA: 'OFF'
clean:
<<: *CLEAN_COMMON
LCFIPlus:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/LCFIPlus/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
KiTrack:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/KiTrack/tags/v{version}
pre_compile:
handler: patch
param:
file: KiTrack-01-04.patch
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
KiTrackMarlin:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/KiTrackMarlin/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
ForwardTracking:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/ForwardTracking/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
MarlinKinfit:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/MarlinKinfit/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
Arbor:
download:
handler: http
param:
url: http://cepcsoft.ihep.ac.cn/package/cepcsoft/Arbor/{version}/Arbor-{version}.tar.gz
extract:
handler: tar
param:
file: 'Arbor-{version}.tar.gz'
main: 'Arbor-{version}'
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
PandoraPFANew:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
PANDORA_MONITORING: 'OFF'
clean:
<<: *CLEAN_COMMON
MarlinPandora:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/PandoraPFANew/MarlinPandora/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
PANDORA_MONITORING: 'OFF'
clean:
<<: *CLEAN_COMMON
PandoraAnalysis:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/PandoraPFANew/PandoraAnalysis/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
Overlay:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlin/Overlay/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
PathFinder:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/pathfinder/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
MarlinTPC:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlintpc/tags/v{version}
pre_compile:
handler: patch
param:
file: MarlinTPC-00-16.patch
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
LCTuple:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/marlinreco/LCTuple/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
BBQ:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/bbq/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
Garlic:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/Garlic/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
HepPDT:
download:
handler: http
param:
url: http://lcgapp.cern.ch/project/simu/HepPDT/download/HepPDT-{version}.tar.gz
extract:
handler: tar
param:
file: HepPDT-{version}.tar.gz
main: HepPDT-{version}
compile:
handler: conf_make
clean:
<<: *CLEAN_COMMON
GDML:
download:
handler: svn
param:
url: svn://svn.freehep.org/lcdet/projects/gdml/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
LCDD:
download:
handler: svn
param:
url: svn://svn.freehep.org/lcdet/projects/lcdd/tags/v{version}
compile:
<<: *ILCSOFT_COMPILE
clean:
<<: *CLEAN_COMMON
SLIC:
download:
handler: svn
param:
url: svn://svn.freehep.org/lcdet/projects/slic/tags/v{version}
compile:
handler: cmake
param:
<<: *ILCSOFT_CMAKE_PARAM
do_make_install: false
clean:
handler: clean
param:
dir: [download, log]
DD4hep:
download:
handler: svn
param:
url: https://svnsrv.desy.de/public/aidasoft/DD4hep/tags/v{version}
compile:
handler: cmake
param:
ignore_install_prefix: true
envcmake:
<<: *ILCSOFT_ENVCMAKE
DD4HEP_WITH_GEANT4: '0'
DD4HEP_USE_XERCESC: '0'
DD4HEP_USE_PYROOT: '0'
clean:
<<: *CLEAN_COMMON