ROOT: Add Pythia8 support (#14790)
This commit is contained in:
parent
cf120d7441
commit
c8cb480eb7
@ -30,8 +30,6 @@ Monitoring with Monalisa depends on `libapmoncpp`.
|
||||
|
||||
#### `oracle`
|
||||
|
||||
#### `pythia8`
|
||||
|
||||
#### `tcmalloc`
|
||||
|
||||
#### `veccore`
|
||||
|
@ -117,6 +117,8 @@ class Root(CMakePackage):
|
||||
description='Enable postgres support')
|
||||
variant('pythia6', default=False,
|
||||
description='Enable pythia6 support')
|
||||
variant('pythia8', default=False,
|
||||
description='Enable pythia8 support')
|
||||
variant('python', default=True,
|
||||
description='Enable Python ROOT bindings')
|
||||
variant('qt4', default=False,
|
||||
@ -216,6 +218,7 @@ class Root(CMakePackage):
|
||||
depends_on('openssl', when='+davix') # Also with davix
|
||||
depends_on('postgresql', when='+postgres')
|
||||
depends_on('pythia6+root', when='+pythia6')
|
||||
depends_on('pythia8', when='+pythia8')
|
||||
depends_on('python@2.7:', when='+python', type=('build', 'run'))
|
||||
depends_on('r', when='+r', type=('build', 'run'))
|
||||
depends_on('r-rcpp', when='+r', type=('build', 'run'))
|
||||
@ -361,8 +364,8 @@ def cmake_args(self):
|
||||
['oracle', False],
|
||||
['pgsql', 'postgres'],
|
||||
['pythia6'],
|
||||
['pythia8', False],
|
||||
['python', self.spec.satisfies('+python')],
|
||||
['pythia8'],
|
||||
['python'],
|
||||
['qt', 'qt4'], # See conflicts
|
||||
['qtgsi', 'qt4'], # See conflicts
|
||||
['r', 'R'],
|
||||
|
Loading…
Reference in New Issue
Block a user