forked from iLCSoft/iLCInstall
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmarlinreco.py
37 lines (25 loc) · 1.07 KB
/
marlinreco.py
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
##################################################
#
# MarlinReco module
#
# Author: Jan Engels, DESY
# Date: Jan, 2007
#
##################################################
# custom imports
from .marlinpkg import MarlinPKG
class MarlinReco(MarlinPKG):
""" Responsible for the MarlinReco installation process. """
def __init__(self, userInput):
MarlinPKG.__init__(self, "MarlinReco", userInput )
self.hasCMakeFindSupport = True
# required modules
self.reqmodules = [ "Marlin", "MarlinUtil", "MarlinKinfit", "CLHEP", "GEAR", "GSL", "LCIO" ]
# optional modules
self.optmodules = [ "CERNLIB", "AIDA" ]
self.envcmake["MARLINRECO_FORTRAN"] = "ON"
def preCheckDeps(self):
MarlinPKG.preCheckDeps(self)
if( self.mode == "install" ):
if self.cmakeBoolOptionIsSet( "MARLINRECO_FORTRAN" ):
self.addDependency( ['CERNLIB'] )