diff --git a/packages/nest/package.py b/packages/nest/package.py index d8e127da26d4541886ddc5f8ffe2ddfb31488413..04961a59163c93a38db54b4f8ea905b9c0386eae 100644 --- a/packages/nest/package.py +++ b/packages/nest/package.py @@ -75,6 +75,8 @@ class Nest(CMakePackage): description="Enable direct reading of connectivity from SONATA files") variant('boost', default=True, description="Enable optimizations provided via Boost library algorithms and containers") + variant('jemalloc', default=True, + description="Pull in jemalloc as run-time dependency.") # TODO add variants for neurosim and music when these are in spack conflicts('~gsl', when='@:2.10.99', @@ -99,6 +101,7 @@ class Nest(CMakePackage): depends_on('hdf5+cxx+mpi', when='@3.4.99:+sonata+mpi', type=('build', 'run')) depends_on('hdf5+cxx~mpi', when='@3.4.99:+sonata~mpi', type=('build', 'run')) depends_on('py-pandas', when='@3.4.99:+sonata', type=('build', 'run')) + depends_on('jemalloc', when='@3:+jemalloc', type=('run', 'test')) depends_on('py-nose', when='@:2.99.99+python+testsuite', type='test') depends_on('py-pytest', when='@3.0:+testsuite', type='test')