diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r/package.py b/var/spack/repos/builtin/packages/r/package.py index b1c9f49eb8..a9b99053ca 100644 --- a/var/spack/repos/builtin/packages/r/package.py +++ b/var/spack/repos/builtin/packages/r/package.py @@ -62,6 +62,8 @@ class R(AutotoolsPackage): description='Links to externally installed BLAS/LAPACK') variant('X', default=False, description='Enable X11 support (call configure --with-x)') + variant('memory_profiling', default=False, + description='Enable memory profiling') # Virtual dependencies depends_on('blas', when='+external-lapack') @@ -128,6 +130,9 @@ class R(AutotoolsPackage): else: config_args.append('--without-x') + if '+memory_profiling' in spec: + config_args.append('--enable-memory-profiling') + return config_args @run_after('install') |