summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorvvolkl <valentin.volkl@cern.ch>2020-11-16 17:38:50 +0100
committerGitHub <noreply@github.com>2020-11-16 10:38:50 -0600
commitb6843e1a8214d2b50e496f009d94fab4ad238040 (patch)
tree8e86188d9d445620ad5a4d2a6d71af210268eea1 /var
parent0aa55d426c1680dae71d730f11d73be1a079b156 (diff)
downloadspack-b6843e1a8214d2b50e496f009d94fab4ad238040.tar.gz
spack-b6843e1a8214d2b50e496f009d94fab4ad238040.tar.bz2
spack-b6843e1a8214d2b50e496f009d94fab4ad238040.tar.xz
spack-b6843e1a8214d2b50e496f009d94fab4ad238040.zip
[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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py
index df004c924a..7fb4868a91 100644
--- a/var/spack/repos/builtin/packages/dd4hep/package.py
+++ b/var/spack/repos/builtin/packages/dd4hep/package.py
@@ -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')