[dd4hep] switch to ninja generator to avoid running out of memory … (#19940)

* [dd4hep] switch to ninja generator to avoid running out of memory while compiling ddparsers

* [dd4hep] format
This commit is contained in:
vvolkl 2020-11-16 17:38:50 +01:00 committed by GitHub
parent 0aa55d426c
commit b6843e1a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,8 @@ class Dd4hep(CMakePackage):
version('1.11.0', sha256='25643296f15f9d11ad4ad550b7c3b92e8974fc56f1ee8e4455501010789ae7b6')
version('1.10.0', sha256='1d6b5d1c368dc8bcedd9c61b7c7e1a44bad427f8bd34932516aff47c88a31d95')
generator = 'Ninja'
# Workarounds for various TBB issues in DD4hep v1.11
# See https://github.com/AIDASoft/DD4hep/pull/613 .
patch('tbb-workarounds.patch', when='@1.11.0')
@ -46,6 +48,7 @@ class Dd4hep(CMakePackage):
variant('debug', default=False, description="Enable debug build")
depends_on('cmake @3.12:', type='build')
depends_on('ninja', type='build')
depends_on('boost @1.49:')
depends_on('root @6.08: +gdml +math +opengl +python +x')
extends('python')